MacDonaldsd macrumors 65816 Original poster Sep 8, 2005 1,005 0 London , UK Sep 17, 2007 #1 Is there an easy way to refer to a file at the root folder of the server, that my site is hosted on ? or is it best to type the full URL in ?
Is there an easy way to refer to a file at the root folder of the server, that my site is hosted on ? or is it best to type the full URL in ?
appleachian macrumors newbie Sep 17, 2007 4 0 Sep 17, 2007 #2 if you mean by now to link to a file at the public root, you can use: <a href="/file.html">Link</a>
ChicoWeb macrumors 65816 Aug 16, 2004 1,120 0 California Sep 17, 2007 #3 / takes you to public root dir, I wouldn't use absolute URL's for a few reasons. One being if you ever change domain names, 2 if you ever plan on using an SSL cert, they don't like abs. paths.
/ takes you to public root dir, I wouldn't use absolute URL's for a few reasons. One being if you ever change domain names, 2 if you ever plan on using an SSL cert, they don't like abs. paths.
MacDonaldsd macrumors 65816 Original poster Sep 8, 2005 1,005 0 London , UK Sep 18, 2007 #4 Thanks. I can't believe I missed that.