Tag Archives: ip

Block Visitors by Country 

A client needs to get a certain country blocked with .htaccess – or redirected -.
I’m gonna let some links of the solutions here…

Blocking an entire country stops most traffic coming from their IP ranges. 
This method isn’t 100% because some countries have slightly overlapping IP ranges.

Incredibill

http://incredibill.me/htaccess-block-country-ips

  • .htaccess

http://www.ip2location.com/blockvisitorsbycountry.aspx 

  • .htaccess
  • Linux IPtable
  • CIDR

http://wordpress.org/plugins/ip2location-country-blocker/

  • Wordpres Plugin