“412 Precondition Failed” error – Solved

If you encounter an error message “412 Precondition Failed” on a specific webpage of a web site, it means the requested page request clashed with one in all the safety rules enforced over the server. These rules are typically enforced to protect the websites hosted over the server from malicious activities.

The most probably explanation for this response could be a mod_security setting. The mod_security module can send this response once some of the web request data that one in all our servers received is likely to be malicious.
Inorder to disable this security feature one should use the subsequent .htaccess directive:-

SecFilterEngine Off

If you get this error that you think that it shouldn’t are there within the initial place and if your web site is hosted with us, please contact us either via. Live Chat or raise a ticket stating the precise page url that you received the error for.

Note : If you’ve got a WordPress based mostly web site hosted over the server and have Bad Behavior plugin installed that is active, then you need to initial deactivating it. This plugin could be a PHP-based solution for blocking link spam and also the robots that deliver it, that sometimes causes such a error in WordPress.