1 reply [Last post]
Last seen: 17 years 39 weeks ago
Joined: 2004-11-18
Posts: 1
Points: 0

Basically I want to automatically make all links and images act as if they have a "../" in front of them. That way I can publish to an ../archive folder and have my images and links not become dead, but rather read from the ../images directory. Any way to do this via .htaccess or css or something similar?

dJomp's picture
Last seen: 6 years 29 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

how to make images/links read from directory above?

You can specify the base URI in the HTML (w3c stuff about it)

<BASE href="http://www.aviary.com/products/intro.html">

Worth remembering that this will affect ALL links in your document.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.