Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Sending junk traffic to good cause

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

Full Member

10+ Year Member

joined:Feb 15, 2006
votes: 0

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...

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 18, 2005
votes: 0

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.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members