Quote:
Originally posted by JoshT
Hard-coding full URLs will be a pain if you ever need to move the pages to another server...
If your link looks like <a href="page.html">, the browser will request it from the server in the current directory.
If your links looks like <a href="/page.html"> the browser will request it from the root of the server, so the full url would be "http://www.server.com" + "/page.html", so "http://www.server.com/page.html".
and if he has his page on geocities or some other such service and uses <a href="/page.html">, it will request it from "http://www.geocities.com/page.html" am I correct? That would lead to a 404.