Solving the ERR_BLOCKED_BY_XSS_AUDITOR in Chrome

Knowledge base article id: 29

You are reading this article because you have saved something in wordpress and received an error in chrome saying "ERR_BLOCKED_BY_XSS_AUDITOR".

Add the following code to your root .htaccess file and the issue should clear up.

Alternatively, for short term try another browser such as firefox.

######################################
# Prevents the ERR_BLOCKED_BY_XSS_AUDITOR error in chrome
######################################
<IfModule mod_headers.c>
 Header set X-XSS-Protection "0; mode=block"
</IfModule>

If you still receive this error after applying the above code to your htaccess, then check your mod security logs as you might be getting blocked by mod security after which you will need to apply a custom whitelist rule.

  • htaccess, chrome, google chrome
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

additional security/performance settings for .htaccess

Below is some additional rules for your htaccess file which provides some performance and...

Forcing SSL and WWW in .htaccess

Use the following code in the htaccess file for making sure that all pages served up are www and...

301 redirect all traffic from domain A to the root of domain B

If you need to 301 redirect all the traffic from olddomain.com to the index page of newdomain.com...