O Orilon New member Joined Jan 9, 2005 Messages 1 Jan 9, 2005 #1 I have several files in a folder in the public_html directory and I want to know what url do I use to link between them? When I use www.domainname/user/foldername/file.html I get a 404 error.
I have several files in a folder in the public_html directory and I want to know what url do I use to link between them? When I use www.domainname/user/foldername/file.html I get a 404 error.
C California Verified User Joined Aug 19, 2004 Messages 48 Jan 9, 2005 #2 If you are using a regular link, then you can do it absolutely like: Code: <a href="http://www.mysite.com/folder/file.htm">the link</a> or relatively like: Code: <a href="/folder/file.htm">the link</a> where mysite.com should be replaced with you real site name. If you are linking to something in the public_html directory, just leave out the "/folder" from the links.
If you are using a regular link, then you can do it absolutely like: Code: <a href="http://www.mysite.com/folder/file.htm">the link</a> or relatively like: Code: <a href="/folder/file.htm">the link</a> where mysite.com should be replaced with you real site name. If you are linking to something in the public_html directory, just leave out the "/folder" from the links.