[thelist] fqdn v. absolute or relative path

rudy r937 at interlog.com
Thu Dec 26 17:29:01 CST 2002


conventional terminology, to the best of my knowledge, is:

absolute:
http://servername/directories/if/necessary/page.htm

root relative:
/directories/if/necessary/page.htm

relative:
../if/necessary/page.htm

of these, the first is by far the wrong way to code links to pages within
the same site

the second is better than the third, but in the example you gave, where an
entire site is "moving up" two levels, the second will require search &
replace while the third shouldn't

as for effect on the logs, i'm pretty sure there is none at all, as the logs
record the urls requested by the browser, which are always stated in
absolute terms


rudy




More information about the thelist mailing list