bunu bir dene
<?php
$activepage = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$country_code = $_SERVER["HTTP_CF_IPCOUNTRY"];
$page_to = "www.google.com.tr";
?>
<?php
if($country_code!=="TR" && $country_code!=="US") {
Header("Location: $page_to");
die();
}
?>