Forum Moderators: open
SetEnvIf Referer ^http://(www\.)?google\.com/?$ bad_refSee the closing anchor? Some people do still come in from http google--especially http google dot something-other-than-com, which I haven't bothered about yet. But there will always be a visible query. If not, they're fakers. http://www.google.com/ actual Google links should contain a pathDo you happen to have a site that has already been HTTPS for years? On ordinary, non-secure sites, HTTP Google referers include the query string, while HTTPS referers don't; that's the point of making the distinction. Even on secure sites, there will be legitimate HTTPS Google referers that come in without a path and/or query. And, as we've recently established, some smartphones don't send a query string even with HTTP Google.
In this particular case the referrer should only be sent if the destination is on HTTPS as well and on HTTP not at all. Even in the case of HTTPS however only the origin (only protocol and host, no path or query string).I'll be darned. I always thought the rule was that in https >> http only the query string is to be omitted. (This would have been a quaint, old-fashioned rule, since “friendly” URLs from the CMS of your choice means there is absolutely no difference between path and query. Everything-after-the-hostname makes more sense.)
I'll be darned. I always thought the rule was that in https >> http only the query string is to be omitted. (This would have been a quaint, old-fashioned rule, since “friendly” URLs from the CMS of your choice means there is absolutely no difference between path and query. Everything-after-the-hostname makes more sense.)
Clients SHOULD NOT include a Referer header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol.
And double ###. Does this, in turn, mean that when my “real” sites go HTTPS, then piwik--which lives on my personal site--will break, since it depends in its entirety on a long complicated query string being sent from one place to another?
<meta name="referrer" content="always">Header set Referrer-Policy: "no-referrer"
Header set Referrer-Policy: "no-referrer-when-downgrade"
Header set Referrer-Policy: "origin"
Header set Referrer-Policy: "origin-when-cross-origin"
Header set Referrer-Policy: "same-origin"
Header set Referrer-Policy: "strict-origin"
Header set Referrer-Policy: "strict-origin-when-cross-origin"
Header set Referrer-Policy: "unsafe-url"Personally, I use "no-referrer" to respect my visitor's privacy and to not misrepresent being a secure website.