Why do I keep getting Error 406 - Not Acceptable every time?

Avatar
  • Answered
I get this error - Error 406 - Not Acceptable Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner. This happens every time I try to customize my worpress theme?
Thank you!
Avatar
johnpaulb-imhs1
Hello [email protected], Thank you for contacting us about a 406 error. When this happens, it sends an Accept header. This tells the server in what formats the browser can accept the data. If the server cannot send data in a format requested in the Accept header, the server sends the 406 Not Acceptable error. The error can also be generated by the mod_security module. Mod_security, a type of firewall program that runs on Apache web server, scans for violations of the rules it has set. If an action occurs that violates one of these rules, the server will throw a 406 error. Please see our full guide on the 406 Error - Not Acceptable, as it includes a section on "How to prevent the error". If you have any further questions, feel free to post them below. Thank you, John-Paul