WordPress 403-Access Denied Error

When certain sections in the WordPress admin show you a 403 Access Denied Error it may mean that your server has mod_security  enabled and is causing access errors because of some unacceptable values in POST data.

For instance, i had this error when i tried to edit/add posts. After some time googling i found out it happens because of mod_security. 

To override the default behaviour of the mod_security we hvae to add certain IfModule directives in out htaccess files which resides in the document root of your hosting. Or you can create one if it does not exists and add the following at the end:

Don’t forget to encapsulate the above lines inside the <IfModule mod_security.c> and </IfModule> directive

alexey

alexey

Application developer, movie buff, occasional reader and a huge Manchester United fan.
alexey

Application developer, movie buff, occasional reader and a huge Manchester United fan.