What link do I use?

Orilon

New member
Joined
Jan 9, 2005
Messages
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.
 
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.
 
Back
Top