This is the structure of my messy host root folder; which I'm hoping to clean up soon;
root (folder)
.....AllWebsites (folder)
.......Website1 (folder)
index.html//please note that these html files below are not in their own folder. So they're sitting in the website1 folder loosely;
index2.html
index3.html
numerous numerous other html files
phpFolder (folder)
..........index.php (file)//this is my landing page
website2 (folder) and more folders for other websites
So I simply want a button on my index.php called "Second Landing Page" to link to index.html. So I tried writing;
<li><a href='/website1/index.html'><strong>Second Landing Page</strong></a></li>
But I get the 404 error. Then I tried writing;
href='/allWebsites/website1/index.html
href='//website1/index.html
//I was hoping 2 slashes would bump me up one level but didn't work and many other variations without any luck. This is probably a very simple question but not for me learning as I code these sites.
One way to fix this problem would be to just place a new folder in the phpFolder called htmlFolder and paste all the html files including index.html. Then I would simply write;
<li><a href='/htmlFolder/index.html'><strong>Second Landing Page</strong></a></li>
But this will be a nightmare, so I'd appreciate any help to simply figure out how to link to the index.html where it currently resides > in the folder above phpFolder named website1 folder.