You need to get these kinds of people to stop, but seeing as how these kinds of people aren’t likely to listen to reason, you will have to use your powers as owner of the blog to get them to stop. How do you do that? By blocking them from visiting your blog, effectively banning them. There are multiple ways of blocking someone from visiting your blog. Here are the ways:
Banning via IP block
The first method is to block that visitor’s IP address. To do this, access your .htaccess file in your server’s root directory and add the following rules:
deny from xxx.xxx.xxx.xxx
allow from all
The “xxx.xxx.xxx.xxx” is where you place the offender’s IP address. This only works against those who use static IP address; for dynamic IP addresses, which is possibly more likely given that some troublemakers can be tenacious, you will have to define a range of IP addresses, which is for the more advanced bloggers. For example, if you want to block the IP range of 220.127.116.11 – 18.104.22.168, you have to put the following rules into the .htaccess file:
deny from 22.214.171.124/23
deny from 126.96.36.199/255.255.254.0
Banning via Internet Service Provider
The second method of banning is to block that visitor’s Internet Service Provider. To do just that, place the following rules into your .htaccess file:
Deny from *ISPname*.com
allow from all
Simple enough, although this will mean that anyone else who is subscribed to that ISP would also be effectively banned from visiting your site.
Banning visitors from a certain country
The third method is a little extreme, but allows you to block visitors from a certain country. There are two ways of you to do this: by doing it manually by learning all the IP address ranges from the country you want to ban, or by using a code generating service that gives you code you can place in your .htaccess file to ban that particular country. One such site you can use is nirsoft.com, where you can receive a code detailing a list of IP ranges for the country of your choice and placing the code into your .htaccess file.
Banning visitors from a certain continent
The fourth, last and perhaps the most extreme method of blocking visitors. Just like the previous method, there are sites that provide codes that detail IP ranges that span across a whole continent. One such site you can visit is again nirsoft.com, where you can receive codes that you can copy and paste into your .htaccess file to block whole continents.
Final words and thoughts
And those are the methods you can use to block unwanted visitors from visiting your site. If you want only a specific region to access your site, you can choose to use the third and fourth methods, but if you just want to block this one troublemaker from entering your site, it would be best to simply use the first method.