Problem with linking to other html docs

Status
Not open for further replies.

HermXIV

New Member
Messages
28
Reaction score
0
Points
0
Alright, I have setup my index page.

However, whenever I try a relative link to an html page in the same directory (public_html in this case) It does not work.

So say I wanted to link to an html document named about_us.html from my index, and the document was in the public_html directory how would I do it?
 

Scott

New Member
Messages
2,093
Reaction score
0
Points
0
The link would be: /about_us.html

You do not need to include /public_html/
 

HermXIV

New Member
Messages
28
Reaction score
0
Points
0
Yes, I know that. But when I try and link to them it DOES NOT WORK. that is my problem
 

Scott

New Member
Messages
2,093
Reaction score
0
Points
0
The reason why is you are linking like this:

"http://codeexplosion.x10hosting.com/public_html//site_support.html"
 
Last edited:

HermXIV

New Member
Messages
28
Reaction score
0
Points
0
I know how to do links.

I put the About_us.html in the same folder as the index.html

so the link <a href='/about_us.html'>Blah blah blah</a> should do the trick.

It doesn't
 

Scott

New Member
Messages
2,093
Reaction score
0
Points
0
Please private message me the following information:
A link to this thread
Your cPanel username
Your cPanel password

Please make sure you are completely signed out of your account.
 
Status
Not open for further replies.
Top