$a = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip='.$_SERVER['REMOTE_ADDR']));
$countrycode= $a['geoplugin_countryCode'];
if ($countrycode!='TR') {
header( 'Location: http://example1.com' ) ;
exit();
}İşinizi görecektir. example1.com a tr harici ziyaretçileri yollar. Buna googlebot vs de dahildir.