Mobile app version of vmapp.org
Login or Join
Murray432

: Https and Google Search: how to run an https web-site to get Referer? I note that www.google.com is increasingly being used through https, and this results in no HTTP Referer being provided

@Murray432

Posted in: #GoogleSearch #Https

I note that google.com is increasingly being used through https, and this results in no HTTP Referer being provided to my web-sites for hits that originate from Google Search over SSL.

How do I run my web-sites such that if they are to appear as a Search Result for a given search at Google, then an https version is provided, but only if the Google Search itself is accessed through https?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray432

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

Running an HTTPS server may allow the full referer header through in some cases in some browsers but it will NOT allow it through in all cases. I have done some testing myself. See: "Not Provided" keywords from Google search: If your site uses https, does Google always send the keywords in the referrer?

Google does not provide a mechanism for you to rank you HTTPS sites for HTTPS search and your HTTP site for HTTP search. At best, you would could redirect between the two based on the referer. You do get a referer of www.google.com/ (without keywords) when somebody searches from Google on Google's HTTPS site. You could redirect this request to your HTTPS site because it is has an external referer starting with .

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme