Addon domain subfolder .html files 404 error

Avatar
  • Answered
I am having an issue where in any subfolder of my addon domain a 404 when you try and access any .html files
Example:

www.addonname.com/somefolder/

This will return a 404 error, remove the index.html and you will get a listing of the files in that folder.

This is any html file it seems. Any ideas as to what might be going on?

Thanks
Avatar
jamesr
Thank you for your question Rchristiani! Sorry for the trouble with the files not loading in your sub folders. You have the following rewrite rule in your .htaccess preventing the files from loading. Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.html$ $1.php [NC] When we rename you .htaccess the subfolders index.php load. The listing of the files is because the folder does not have an index page so it shows the folder contents. You will want to turn indexing off in the Index manager of your cPanel to stop this. How do I use the Index Manager in my control panel (cpanel)? Best Regards, James R