Solved : Failed to set referrer policy Error on Chrome console

After installing w3 total cache plugin you might get Failed to set referrer policy Error on your Console, it shows the following error:
“Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchanged.”
{Read:- Best PWA WordPress Plugins 2021 }
How to fix “failed to set referrer policy: The value ‘ ‘ is not one of…”?
You can directly edit the code in your .htaccess file. But if you are using the WordPress >> w3 total cache plugin it may remove, When you will updated plugin setting.
1 2 3 4 5 |
Header set Referrer-Policy "" to Header set Referrer-Policy "origin" |
How to fix “failed to set referrer policy WordPress w3 total cache?
Follow the below steps to Fix.
{Read:- How to edit ads.txt without Cpanel in WordPress }
- Go to w3 total cache Menu.
- Click on Browser cache Tab.
- Search , select the Value.