I currently have an index file saved under a url of the form
You should use the complete path:
That happens because you're using a relative url.
For instance: What is relative URL?
Lets assume your script (index.html in this example) is being executed at
http://example.com/ with this folder structure:
index.html uploads/ - img.jpg images/ - banners/ - banner1.jpg - banner2.jpg
If you want to create a link to 'uploads' folder, all you have to do is
<a href="uploads/">go to uploads</a>
That is because they are in the same structure level.
In the other hand, if you want to link one of the banners, you'd have to "navigate" trough
images and then
banners. It means that relative to your script, there is