I'd like a URL that points to sub-folder to load index.html from that folder:
Browser loads this but the user does not see the "index.html" in the URL:
I tried adding .htaccess file to this sub-folder with this but it did not work:
Please help! Thanks!
Solved! Go to Solution.
So far I have found that this works:
RedirectMatch ^/subfolder/?$ /subfolder/index.html
The problem is that the user is redirected and the "index.html" is visible in the address bar which is not ideal.
Any idea why DirectoryIndex wouldn't work?
What you've described should be the default behavior. Do you have other scripting that could be interfering with this?