Mobile app version of vmapp.org
Login or Join
RJPawlick198

: Hide referrer header from 3rd party website Right now my site uses http and has many links to one other website (say https://instagram.com). I would prefer they not see that clicks come from

@RJPawlick198

Posted in: #Https #Referrer #SecurityCertificate

Right now my site uses http and has many links to one other website (say instagram.com). I would prefer they not see that clicks come from my site.

I also do not want https to be seen anywhere on the website. So this is what I'm planning to do:


Buy a SSL certificate
Create example.com/redir.php?url=foo (which does
the actual redirect)
Create example.com/redir.html?url=foo (which will
contain redir.php as an iframe)
When user clicks a link they're taken
to example.com/redir.html and they don't see that https is being used
The destination site uses 100% https. And all their http pages are (301 or 302) redirects to the https page. So I link to their http pages, not https


My questions are:


Will the http referrer be stripped all the time? I do not want them to see that the clicks are coming from my site 100% of the time (not 99.99%)
In the redirect file, will using a (https) frame inside (http) html work?
I need https only for redirect.php, so can I continue to use http everywhere on my site?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @RJPawlick198

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme