here we go buba..
geoip.inc
grab it here:
http://uploading.com/files/DJSN7JON/geoip.zip.html
include this in your redirect page(s):
($my_countries = array('cn,ru');) <- list of counties you want to redirect
PHP Code:
<?php
require_once('/home/html/path-to-site');
$gi = geoip_open('GeoIP.dat', GEOIP_MEMORY_CACHE);
$country = geoip_country_code_by_addr($gi, $_SERVER['REMOTE_ADDR']);
geoip_close($gi);
$my_countries = array('tr');
if (in_array(strtolower($country), $my_countries))
{
header('Location: http://go-away.com');
}
download this geoip file as well:
http://uploading.com/files/KWCOOPZR/GeoIP.dat.html