I have used following script for country based redirection using GeoIp.dat DB Let us assume my default domain is http://www.mydomain.com/.I want to redirect into myindiadomin.com,if anybody open from in India. Other than india, keeps same. require_once(“geoip/geoip.inc”); $gi = geoip_open(“geoip/GeoIP.dat”,GEOIP_STANDARD); $country_code … Continue reading →