I'm working on my site on localhost. I have my directories as follows:
My index page is located directly in the site folder as such:
../htdocs > mysite > index.php
My our-profile page is located in sub-folder called about us as such:
../htdocs > mysite > about-us > our-profile.php
I have a link on the our-profile.php page that should link back to the homepage like this:
<a href=..\index.php>Home</a>
.
But i keep getting a 404 - Not Found error. It uses the about-us directory as the root. So the link above tries to search for :
http://localhost:8888//mysite/about-us/mysite/index.php
instead of
http://localhost:8888//mysite/index.php
How do i re-structure the links?.
EDIT: I'm working with dreamweaver. Could it be an issue from dreamweaver?
you're using backslashes, use forward slashes
<a href=../index.php>Home</a>.