<?php $activepage = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; $country_code = $_SERVER["HTTP_CF_IPCOUNTRY"]; $page_to = "/"; ?> <?php if($country_code!="TR" || $country_code!="US" ) { Header("Location: $page_to"); die(); }