ModSecurity is blocking my WordPress website, what can I do?

Sometimes modSecurity may determine your website as vulnerable and can block your access to the server showing error 403. Even for clean installation, this may happen, because somethimes modSecurity CRS determine your script or plugin as malicious and is blocking some java, json or ajax requests.

In order to avoid this false-positive issues, please add this lines in your .htaccess file from your root directory.

 

<IfModule mod_security.c>
SecRuleRemoveById 941100 942100 933120
</IfModule>

 

Save file and clear cache of your website, by flashing the cache, or pressing CTRL & F5 buttons together on the keyboard.

  • modSecurity
  • 0 istifadəçi bunu faydalı hesab edir
Bu cavab sizə kömək etdi?

Uyğun məqalələr

How to Automatically Set Up Email on iOS Devices

This guide will provide the steps for how to use cPanel's script to automatically set up an...

How to access your hosting panel

To access hosting panel, you can do in 2 ways: to access hosting panel directly from your...

How to add an email account in cPanel Hosting Panel

To add a new email account, do the following:   Login into your account from...

How do I reset my cPanel control panel password?

Please see the following steps on how to reset your cPanel control panel password: • Log in to...

How to Install the ClamAV Plugin in WHM

ClamAV is a free plugin based on the open source ClamAV engine. You can install this to run scans...