Aşağıdaki kod işinizi görecektir.
$bilgiler=unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip='.$_SERVER['REMOTE_ADDR']));
$ulkekodu=$bilgiler["geoplugin_countryCode"];
if ($ulkekodu=="TR") {
header("Location:https://www.r10.net/");
die();
}