Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

How to monetize irrelevant traffic with cloaking

my little script

4:25 am on Dec 6, 2004 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member ogletree is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 14, 2003
votes: 35

I bought a site and completely changed it's subject matter. The old site was almost entirely uk traffic and now I only want US traffic. I am not able to do ip delivery right now so I had to think of another way to send the traffic to another page. I get a lot of traffic because of anchor text that is completely irrelevant to my new site. There is one word that is pretty much in every search term used to get to the old content. So I made a php script that looks at the REFERER and loads an include depending on what is in the REFERER string. I stuck up an affiliate ad that would be useful to uk visitors that are searching for the old content.

if ( strpos($_SERVER['HTTP_REFERER'], 'keyword') === false ){

} else {


2:18 pm on Dec 6, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 22, 2001
votes: 0

Pretty good implementation of referrer based cloaking ;)