For part of the example I have replaced <> with left carrot and right carrot.
You will need to do two things:
nano /etc/modsecurity/exclude.conf
It should look like this:
left carrot LocationMatch “/wp-admin/post.php” right carrot
SecRuleRemoveById XXXXXX
left carrot /LocationMatch right carrot
Now add this to your virtual hosts file in apache:
nano /etc/apache2/sites-available/yourdomain.com
Add the following somewhere in the file:
SecRuleInheritance Off
Done





