Welcome to WebmasterWorld Guest from 107.20.34.173

Forum Moderators: open

Message Too Old, No Replies

Sending junk traffic to good cause

     

webdudek

9:01 am on Oct 6, 2006 (gmt 0)

5+ Year Member



I'm getting a lot of junk traffic that is coming from searchfeed.com.
My logs show that users from searchfeed.com never clicked even one click anywhere on my site. The problem is that they are coming through other PPC vendors so it is hard to get rid of them completely.
So I've decided to send them away:

if (array_key_exists("HTTP_REFERER",$_SERVER)){
if (strstr($_SERVER["HTTP_REFERER"],"searchfeed.com")){
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: [one.org"...] );
}
}

I did that after I verified that I'm not paying for this traffic.
I wish I wouldn't have got it in the first place...

gregbo

11:53 pm on Oct 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One thing you need to be careful about here is that you're actually filtering traffic from the domains you want to filter. Your code will filter anything that has the string "searchfeed.com" in the referrer, not just the part of the referrer that (usually) contains the domain name. Also note that this field can be easily faked.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month