Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Is there a way to find out if a website is receiving redirects from other websites?

Please note that I'm not asking about incoming links, but an actual redirect.

I don't care how complicated the solution is. If you have any ideas, I'd be happy to hear them.

share|improve this question
    
I also have this question. But I'm not so much concerned with the # of re-directs, but literally the names of those domains. Good to hear that it's possible, though :) Now someone just needs to create a tool. I'll pay! –  Yam Jul 24 '13 at 20:26
add comment

1 Answer

Well, I'm going to stick my neck out and say it's impossible to determine, with a degree of accuracy, the difference between an incoming link and a redirect, or to specifically determine whether it was a redirect and not some other kind of request.

As far as the target website is concerned, it receives the same HTTP request whether it is as a result of a redirect or a user clicking a link. In both these cases the HTTP request is coming from the browser.

However, you could perhaps examine the source of the referring URL (if any) to determine if it was in fact a link the user had followed, but this doesn't necessarily mean that it is a redirect. It could be a server-side request with CURL for instance (although you could perhaps filter out non-real-browser user agents - if these are legitimate CURL requests then they should perhaps be setting their own UA). And the referrer could be faked or suppressed by the browser and by CURL. So the result of this test could be unreliable. However, it might be enough to discount regular links and assume the remainder are redirects?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.