redirect outbound traffic
-
Hi,
how can i use the data for redirects, like with cloudflare
<?php
$country_code = $_SERVER[“HTTP_CF_IPCOUNTRY”];if($country_code==”US”){
header(“Location: http://www.mysite.com/xxx”);
}
else
{
header(“Location: http://outgoing site “);
}
?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘redirect outbound traffic’ is closed to new replies.