Hello, is there a script that redirects the visitor to another site -in my case, a subdomain- if its ip is from a certain country?
You could do it in php e.g. <?php $Ip = $_SERVER['REMOTE_ADDR']; if($Ip == "xxx.xx.xx.xx") { header( 'Location: http://SiteToRedirectTo.com' ) ; } ?>
To find the country that an IP is from, you can use something like GeoLite Country. http://www.maxmind.com/app/geolitecountry
try this : http://www.ip2country.net/geo-targeting/geo-targeting.html] not sure whether it works ... Let me know if you tried this one and works. thanks