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.
<?php
if ( strpos($_SERVER['HTTP_REFERER'], 'keyword') === false ){
include("index.txt");} else {
include("index2.txt");
}
?>