Website and Web Service Reviews
Almost every single blog out there will be have at least a ton of spam comments on it. Spam has become very difficult to restrict in any type of website or blog. Using a spam blocker like Akismet or Bad Behavior can help you to manage automated spam. However, of late, spammers visit your website and advertise their products or sites which have no value whatsoever.

Also, spam directed toward your blog or site may be originating from specific countries. You can find this by keeping track of the IPs that leave spam comments or messages on your site. If you want to block an IP, you can do it easily. However, spammers may simply use another IP address to send their spam. Sometimes, it becomes essential to block an entire country or range of IPs in order to block the spam.
The .htaccess or hypertext access file is one that can be used for changing access permissions to any folder or subdomain on your site. If the .htaccess file is present on your hosting account by default, then all you need to do is edit it. If not you need to create and upload one.
The main demerit would be missing out of visitors from that country. However, these countries would probably not fetch you much traffic anyway. The site basically generates a list of IPs specific to that particular country. Also, spammers may use proxies from another country to over ride your protection. But, you can atleast discourage most spammers from your site.
This needs to be done only in extreme cases of spam problems. In case, you have a couple of spam from a country and you ban the country, then you seriously will be having problems in getting visitors to your site.
Do tell me if you’ve ever had the need to do so for your site or blog. Consider sharing this if you find it useful and thanks for reading!
5 People have responded. What about you?
Hey Interesting post… Definitely spam has become a big issue and needs to be addressed carefully. I hope this post of your’s help most of the people looking out for a solution.
Cheers
Vaibhav
Helping laymen become technology enthusiast at http://technofriends.wordpress.com
Interesting site and information, but I wouldnt got for blocking the country for the reason you have mentioned.
I will never think about country wide blocking…will definitely look for different ways to control spam even if means more effort…
I am sure that anyone would take this up only as an absolute last resort.. But when it comes to that, you need to be prepared, I guess!
[...] How to Ban Visitors from any Country? by Vijay [...]