what is mod security? How to fix the 403 forbidden error in WordPress?

Mod Security is a web app firewall (WAF). It monitors and blocks the malicious incoming web-traffic in real-time. Once there is any incoming web request, it will compare it with the added rules and check for the pattern such as session hijacking, SQL injection, cross-site scripting, etc. Mod Security also allows adding of custom rules for incoming web-request. Simply mod security protects your application depends on the ruleset in use.

You can enable mod security for your domain from cPanel using a few steps. Please refer to how to enable ModSecurity on cPanel.

What is 403 Forbidden Error in Wordpress?

403 forbidden error for your website is an HTTP status code that a web server sends to your web browser due to incorrect permission or corrupt .htaccess file. It is possible due to a corrupt plugin as well.

WordPress 403 Forbidden Error and ModSecurity

Whenever there is any update to your Wordpress files such as admin.ajax.php, post.php, or page.php, ModSecurity may recognize it as code injection and give 403 forbidden error responses. Mod security may give you 403 forbidden error when you update or save your Wordpress post and comments. You can disable ModSecurity for your domain temporarily to fix this issue. You should enable the ModSecurity after updating your Wordpress post.

Related Articles

How to register domain and make the payment?

If you are a registered client, you can directly refer to the following steps to order a new...

How to check your VPS Disk Drive is SSD or HDD?

We use HyperV virtualization technology for our Denver based Classic and SSD Windows VPS. We have...

How Can I Test My Website Before Switching DNS?

It is always important to test your website on a new web host before you change the Nameservers...

How to activate SSL Certificate?

You can activate SSL Certificate to get secure connections on your website. Looking to purchase...

How to check Ping Report from Windows 7, 8 and 10?

You can use our Ping testing tool to test Ping alert from your local system to our Denver...

  • 0 Users Found This Useful

Was this answer helpful?