InMotion Hosting Support Center

.htaccess file doesn't seem to work

Category: Wordpress

2012-07-20 2:39 pm EST

Hits: 787
Hi, on my local development platform, my .htaccess file generated by Wordpress (and edited by me), restricts people from entering, for example, It will show an "Access Forbidden" error 403. Same thing if someone tries to type[ - it protects against potentially malcioous acvitity.

As soon as I uploaded my WP installation to InMotion server, the .htaccess file seems to stop working. If I visit any of the 2 example URLs above on my live InMotion site, I will get Wordpress's default 404 error page - instead of the server's access forbidden page. Does InMotion block my htaccess file or is it something else? Note: the file structure is exactly the same from local to production servers.

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

You must login before you can submit an answer.



43,761 Points
2012-07-23 11:01 am EST
Hello accessgroup,

Our servers are most definitely designed to use your custom htaccess files in order to override the default. This is so you can customize your site to perform the way you want it to.

.htaccess files, however, can be tricky and in the majority of cases, performance can be related to things as simple as the order of the commands.

You may want to check the behavior by doing testing with the individual bits of code to ensure they work independently, then place them together to find out which pieces are conflicting with each other.

Best Regards,
Scott M

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

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

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!