Forum Moderators: phranque
I have a site which has numerous subfolders with index.html within them.
When browsing the site no longer finds the index.html page unless manually entered
ie
www.site.com/Word/
generates a 404
www.site.com/Word/index.html
finds the page fine.
The www.site.com URL finds the index.html page on the root fine.
Whats going on?
Cheers
Dave
if you are using a hosting service somewhere in their control panel there should be an option to set the default document, if not then contact them.
DirectoryIndex index.html
That instructs the server to look for index.html first when a user tries to browse a directory. If you want, you can set up a list of filenames in the order you want, e.g.
DirectoryIndex index.html default.html home.html