Hi How can I make the script for detecting different folders in order to have the URL change? For example so I can link to the homepage and the URL will be correct regardless of what folder the current page is being served from. Or in the case of a header showing the graphic served from the images folder. Currently I have resorted to using the full http:// url. Oh and will it be search engine friendly? Thanks Justin
Not quite sure what you mean, but you can use semi-canonical URLs that only have the full path, for example: HREF="/images/button.gif" or HREF="/" (for the homepage). Just miss out the "http://www.yoursite.com" bit. These URLs will always work, regardless of the current directory. If this isn't it, can you give some examples to show what you mean? Cheers, Cryo.