I'm having a prob linking back to index.html frm subfolders

Post all HTML related questions here. No support.

Moderator: Project members

Post Reply
Message
Author
gibb318
500 Command not understood
Posts: 1
Joined: 2013-01-21 15:52
First name: Mark

I'm having a prob linking back to index.html frm subfolders

#1 Post by gibb318 » 2013-01-21 16:28

Hi
I am having a problem linking back to my index.html page on my site. I created a file system to keep things uncluttered and links to those files work fine but when I create a link in those files to get back to my main page like this <a href="mainfile/index.html"></a> or
<a href="index.html"></a> any file in a subfolder will give me a 404 error, links in to my subfolders work fine but getting back out to my index.html........ Obviously I am missing something. Is there some way to do tis or am I just going to have to move it all back into my main folder?
gibb318

User avatar
boco
Contributor
Posts: 26938
Joined: 2006-05-01 03:28
Location: Germany

Re: I'm having a prob linking back to index.html frm subfold

#2 Post by boco » 2013-01-21 18:50

<a href="/index.html"></a>

or

<a href="../index.html"></a>


Maybe like this?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply