Tracking Redirects Leading to your site
- by Bill
Is there a way in which I can find out if a user arrived at my site via a redirect?
Here's an example: There are two sites, first.com & second.com. Any request to first.com will do a 302 redirect to second.com. When the request at second.com arrives, is there anyway to know it was redirected from first.com?
Note that in this example you have no control over first.com. (In fact, it could be something bad, like kiddieporn.com.)
Also note, because it is a redirect, it will not be in the HTTP referrer header.