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.


  • .htaccess 

  • .htaccess
  • Linux IPtable
  • CIDR

  • Wordpres Plugin


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.