These days I’m seeing lots of wordpress spam comments.The simplest way to avoid spammer is by using Akismet wordpress plugin
You can get the Akismet WordPress plugin from here.
Though at times if you will see your comment spam page, you might find few IP’s are constantly sending comment spam. The easiest way to get rid of these spam is by blocking their IP address using .htaccess method.
I highly recommend keeping a backup of your .htaccess file before editing it.
If you don’t know how to edit your .htaccess file, read my previous post on
Here is the code that you need to enter in your .htaccess file, and upload it.
<Limit GET POST> order allow,deny deny from 188.8.131.52 allow from all </Limit>
You can always enter more IP’s by adding one more line
deny from xx.xxx.xxx.xxx
You can get the IP of the spammer in your spam comment page, under wordpress dashboard
I find this way to be the best way to fight against the lots of spam from bots.
If you are not familiar with wordpress, do read my previous tutorial on