Issues with Access to a File

Category: Wordpress

CourtneyScott
Asked:
2013-02-08 3:13 pm EST

Hits: 292
We're having difficulty getting a wordpress theme (we purchased) to work properly. We've installed it on a separate server on a dev site and it works perfectly fine whereas the live site is having difficulties.

The theme file references a JS file called jquery.cookie.js. Unfortunately, when its named this way, the website leads to a 404 page causing us problems. But if I rename it to jquery.cook.js it works but the theme doesn't work as perfectly.

Is there a setting on the server that prevents this file from being viewed?

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

You must login before you can submit an answer.

Best answer chosen by User

0

JacobIMH
Staff
5,587 Points
2013-02-08 4:46 pm EST
Hello CourtneyScott, and thanks for your question.

It looks like when the file is called jquery.cookie.js it is triggering a ModSecurity rule and causing a 406 error, which then in turns causes WordPress to trigger a 404 error not found page.

I have gone ahead and disabled the specific ModSecurity rule for you 950004 which was causing these errors.

In the future if you start encountering similar issues like this again, you can read my article on either how to disable ModSecurity for a domain to completely turn off ModSecurity for a domain. Or you can read my article on how to find and disable specific ModSecurity rules to complete the same steps that I took to get this working for you.

Please let us know if you have any other questions.

- Jacob

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

Like this Question?
Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2158
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5545

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!