Problem with mod_security - can't edit WP's posts, get 404
Hello,
I am having the same problem as described here:
- Removed -
[QUOTE]"... In Wordpress, after updating or saving a new post or existing post, sometime, it will redirect to a 404 page..."
"After read few similar posts " this, I find out this is due to the mod_security filtering installed on Apache " If a post contains certain pre-defined dangerous "word combination" like "exec" or "SQL inject commands" like "insert", the post will be filtered and Wordpress just return a 404 page."
Is there a solution to this issue? It is affecting my site in more ways than just not being able to save edited posts. I have a dedicated server, and in my main site I use Cloudlflare, but for the other 8 sites I need mod_security enabled, and the solutions provided in this post are not so easy to implement for me. Can I disable mod_security for just one domain or account? Thanks for your help!
Is there a solution to this issue? It is affecting my site in more ways than just not being able to save edited posts. I have a dedicated server, and in my main site I use Cloudlflare, but for the other 8 sites I need mod_security enabled, and the solutions provided in this post are not so easy to implement for me. Can I disable mod_security for just one domain or account? Thanks for your help!
-
Di you have root access to this server, or do you have an account on it? If the latter you might need to speak with your Hosting Provider about this so they can whitelist the rule for your account as needed. 0 -
It's is a dedicated server. Where can I find out how to whitelist the rule for this account? thanks! 0 -
This tool should prove helpful to you: cPanel App Catalog :: ConfigServer ModSecurity Control 0
Please sign in to leave a comment.
Comments
3 comments