Issues with Access to a File
Category: Wordpress
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?
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?
Best answer chosen by User
|
0
|
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 |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed 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 |


