
Any time that you have a blog that allows for comments, you are opening yourself up for comment spam. That’s just part of the territory and that’s where utilities like Akismet and Captcha codes can come in handy. Similarly, if you publicly post your email address somewhere on the Internet, you become increasingly susceptible to spam that way too.
In regards to comment spam, you may find that your filter is constantly picking up comments left by a certain IP address or IP address range. Wouldn’t it be nice if you could prevent people from that IP address from posting spam comments (or malicious code, for that matter) on your blog? You can. And all it takes is a simple plugin.
The appropriately named IP Ban is a plug-in for WordPress that, when activated, will return a 404 error message “for IP’s visiting your blog specified in the IP Ban option on the Discussion Options page.” This “page not found” error will effectively prevent them from not only leaving spam comments, but from viewing your site at all.
You can download IP Ban directly from the Plugin Directory on WordPress.org. As always, it is a free download.




