Redirect without being detected

Asked

Viewed 58 times

1

I would like my user to be redirected without it being detected from source.

Example:<a href="ola.php">oi</a> The ola.php takes the source, with the attribute $_SERVER['HTTP_REFERER'].

I would like my user to be redirected without being detected by http_referer, it is possible?

  • Utilize <a href="ola.php" rel="noreferrer">oi</a>

  • Thanks friend!

1 answer

1


I found a way:

<a href="http://example.com" referrerpolicy="no-referrer">ReferrerPolicy Attribute</a>

Or modify the head of your html by adding the meta:

<meta name="referrer" content="no-referrer">

but then it would be for all links.

I found in: http://geekthis.net/post/hide-http-referer-headers/

Greetings,

  • Thank you Rodrigo! D

Browser other questions tagged

You are not signed in. Login or sign up in order to post.