Hi
Im currently building a PHP application that detects domain's traffics which is manipulated in fraudulent/illegit way. This include BOTs and any sort of redirection.
In order to do this, I must be able to track down their traffic referrer. This can be done easily using $_SERVER['HTTP+REFERER'].
But what happen if they use 301 redirection or javascript "location.href" to direct traffics. I try several methods and dig the header info to find some clue to detect it's traffic source but has no luck. Can anyone please share with me how to detect redirected traffics, either with javascript or .htaccess 301 redirection?
Thanks