InMotion Hosting Support Center

Addon domain subfolder .html files 404 error

2013-03-17 9:42 pm EST

Hits: 1,650
I am having an issue where in any subfolder of my addon domain a 404 when you try and access any .html files

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?


You must login before you can ask a follow up question.

You must login before you can submit an answer.



5,889 Points
2013-03-18 10:26 am EST
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.

<a href="">How do I use the Index Manager in my control panel (cpanel)?</a>

Best Regards,
James R

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!