Tag Archives: 404

how to fix wordpress 404 error when posting in wordpress

If you have mod_security turned on in your server you will sometimes get a 404 not found error when you try to save or publish your post. To fix this add the lines
SecFilterEngine Off
SecFilterScanPOST Off

to your .htaccess file in your wordpress’s root directory to turn off mod_security’s keyword filtering feature for posting forms, and you should not get the error anymore when you try to post.