RewriteEngine on RewriteCond %{ENV:GEOIP_COUNTRY_CODE} NI[NC] RewriteRule ^$ http://www.nigeria.domain.com [L] Code (markup): Does it look at the country code and then send the visitor to a website if the country code is Nigeria?