Solving the ERR_BLOCKED_BY_XSS_AUDITOR in Chrome

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
  • 3 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...

Fix WordPress 404 Errors on Password Protected Directories

You are reading this article becasue you have applied password protection on the wp-admin...

301 redirect all traffic to new site except for certain folders

If you need to redirect a whole site to a new url except for one or more folders, then the script...