wp-content » plugins » no referer Error on LiteSpeed Cache Purge

no referer Error on LiteSpeed Cache Purge

When purging cache from the LiteSpeed Caching plugin the error no referer is shown and purging is not working.

no referer error litespeed cache plugin - no referer Error on LiteSpeed Cache Purge
no referer Error on LiteSpeed Cache Purge

This error is caused by the Security Headers Referrer-Policy setting “no referer” on the server (or Cloudflare).

The no-referrer value instructs the browser to never send the referer header with requests that are made from your site. This also include links to pages on your own site.

To fix the issue change the policy from

Referrer-Policy: no-referrer

to

Referrer-Policy: no-referrer-when-downgrade

or

Referrer-Policy: same-origin

On Apache webserver this can be set either in the .htaccess file or that site, or server-wide in the:

/etc/apache2/conf.d/userdata/headers.conf

Was this post helpful?

Leave a Comment

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.

Recommended