Tracking Redirects Leading to your site

Posted by Bill on Pro Webmasters See other posts from Pro Webmasters or by Bill
Published on 2011-02-10T02:10:33Z Indexed on 2011/02/12 7:33 UTC
Read the original article Hit count: 277

Filed under:
|
|

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.

© Pro Webmasters or respective owner

Related posts about JavaScript

Related posts about domain