Problem with root directory

suhaib

New Member
Messages
8
Reaction score
0
Points
0
In one of my pages(page is "home/user/public_html/contact/contact.html") i linked to a page in root directory like this "../page.html" (page is "home/user/public_html/page.html") but it tells no such page found.

What is the problem? Is public_html is not the root directory?
 

Daniel S

New Member
Messages
2,395
Reaction score
0
Points
0
Hi,

Public_html is the root public directory try putting (yourdomain)/page.html instead of ../page.html
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
That should work. '../' basically means 'go up one directory then look for the file there'.

I think you may have made a typo when putting the link into the html file. Just double check the page's filename, and directory, you may have put it in the wrong place or not uploaded it or something.

-Luke.
 

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
/****************Thread Moved******/
Reason:-Not a tutorial.


Now back to your problem. You did the correct thing. Now check the name as tnl2k7 said. First you need to put that file ie page.html in your root directory. Check whether you have saved it as html or htm.
 
Top