A
A
Alex2018-05-31 06:33:35
WordPress
Alex, 2018-05-31 06:33:35

How to fix referrer error?

There was a relatively recent error in the console

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.

I don’t understand where to climb what to watch, maybe someone will share a useful link. (on mdn I looked at the article about referrer-policy, I didn’t quite understand it)

ps I apologize for the tags if they don’t fit, but I don’t quite understand what it refers to.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2018-06-03
@dimonchik2013

policy when httpS and http content are mixed
read, change

A
Andrews32, 2019-09-03
@Andrews32

I understand that I am necroposchu. However (for future users):
it could also be in the .htaccess file
. There could be lines:

<IfModule mod_headers.c>
Header set Referrer-Policy ""
</IfModule>

Replace
Header set Referrer-Policy ""
with something similar but not empty. For example:
Header set Referrer-Policy "origin"
or
Header set Referrer-Policy "origin-when-cross-origin"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question