Will $_SERVER['HTTP_REFERER'] detect a site as a referer if it is using a redirect?
<p>In PHP I see that</p>

<pre><code>$_SERVER['HTTP_REFERER']
</code></pre>

<p>gives me the refering url if the refering page had a link that was clicked through to my current page. But what if page A has a htaccess redirect that sends the user to page B. If I have the above snippet on Page B will I get Page A as the referer?</p>

<p>Or does it only work if a user clicks on a link that takes them to page B?</p>
