IP Address Block List

Need to block countries or people from accessing your site? Or simply want to redirect other countries to another website? Use the code provided below!


# IP Detection and redirection to appropriate domain/country site
# Redirect all IP address (replace the ## with the IP address # numerals) to same http://yourdomain.ca
RewriteCond %{HTT_HOST} ^##\.##\.##\.##
RewriteRule (.*) http://yourdomain.ca/$1 [R=301,L]


Converted from CHM to HTML with chm2web Standard 2.85 (unicode)