I've heard people say that if you want to scrub (erase) the referrer you need to do a double-meta redirect. But I haven't seen this to be the case.
So I did a lil test.
A redirect via PHP header (301), passes the referer along from the page that calls it.
Link -> php calling header() (meta.html) -> Destination > Referer = Link
A single meta refresh sets itself as the referer url.
Link -> Page with meta (meta.html) -> Destination > Referer = meta.html
A double does the same thing.
Link -> Meta refresh (meta.html) -> Meta refresh (meta2.html) -> Destination > Referer = meta2.html
So, out of curiosity seeing as even if you do it once or twice the results being the same. Is there really a point in performing a meta refresh twice?
And in what cases would you wish to scrub the referer?
Are there other redirect methods out there that have a practical benefit?
So I did a lil test.
A redirect via PHP header (301), passes the referer along from the page that calls it.
Link -> php calling header() (meta.html) -> Destination > Referer = Link
A single meta refresh sets itself as the referer url.
Link -> Page with meta (meta.html) -> Destination > Referer = meta.html
A double does the same thing.
Link -> Meta refresh (meta.html) -> Meta refresh (meta2.html) -> Destination > Referer = meta2.html
So, out of curiosity seeing as even if you do it once or twice the results being the same. Is there really a point in performing a meta refresh twice?
And in what cases would you wish to scrub the referer?
Are there other redirect methods out there that have a practical benefit?