Is there referrer header while using SSL?

Is there referrer header within domain while using SSL?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

If a website is accessed from a HTTP Secure (HTTPS) connection and a
link points to anywhere except another secure location, then the
referrer field is not sent.

The upcoming standard HTML5 will support the attribute/value rel =
“noreferrer” in order to instruct the user agent not to send a
referrer.

Source: http://en.wikipedia.org/wiki/HTTP_referrer

So it seems referrer is not within the domain, but within SSL.

Solution 2

At least Chrome supports now a Meta Tag which explicitly allows to send the Referrer when going from HTTPS to HTTP. Just include the following line in the header:

<meta name="referrer" content="origin">

Here is more Information:
http://wiki.whatwg.org/wiki/Meta_referrer

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply