How can I pass referrer header from my https domain to http domains?
Posted
by
nutcracker
on Pro Webmasters
See other posts from Pro Webmasters
or by nutcracker
Published on 2013-04-16T23:22:04Z
Indexed on
2014/08/21
16:30 UTC
Read the original article
Hit count: 297
My website is 100% https. I have links to other http domains. The referrer header is not set when linking from a https page to a http page. From http://en.wikipedia.org/wiki/HTTP_referrer
If a website is accessed from a HTTP Secure (HTTPS) connection and a link points to anywhere except another secure location, then the referer field is not sent.
I would prefer that other domains can see the referrer so that they know that traffic comes from my domain. Is there a way to force this header or is there another solution?
Update
I've done some basic testing using a redirect:
http page -- link to http --> 301 redirect --> http page = referrer intact
https page -- link to https --> 301 redirect --> http page = referrer blank
https page -- link to http --> 301 redirect --> http page = referrer blank
https page -- link to http --> 302 redirect --> http page = referrer blank
The referrer is lost when linking from a https page to a http redirect page on my own domain. So there is no referrer on the redirect.
© Pro Webmasters or respective owner