Bulk-flow of spam comments and log-in attempts are the most annoying issues of WordPress. When I migrated from Blogger to WordPress recently, I faced non-stoppable spam comments on my blog. I tried SI captcha, Spam Free WordPress and other plugins to protect my blog from spam, but all went in vain. Akismet also failed to keep these malicious submissions away from my blog and several comments tricked Akismet to reach in pending section, before Akismet could send them in spam folder.
This kept me annoying for about one week and then Ehsan of GuideandNews recommended me the GASP plugin. After that, I made three modifications to my blog which have now eliminated spam completely. I don’t receive even a single spam comment now :). Here is what I did to make my blog bulletproof against spam comments.
I Installed Akismet
First of all, I installed Akismet and activated it. This gave me 90%+ protection against spam comments. Although Akismet was sending a lot of spam comments in spam folder, still some comments were reaching in pending folder. I wasn’t needed to mark these comments as spam only, but I was receiving annoying email notifications also. This compelled me to find any additional solution to keep spam away from my blog.
Next, Removed URL Field
As all spam attempts are made to get backlinks, so I searched for a solution either I can hide URL/website field from comment form or not. While searching the Internet, I found a solution at GerardMcGarry’s website. I need to add a small code to my theme’s functions.php file which removed URL field from comment form. Now you can see that website field isn’t appearing in comment form anymore!!
This is important as your real visitors don’t concern with it. When they enter their blog’s URL there, still it is useless for them as WordPress links are nofollow. Sometimes, visitors fill URL field with junk content (like their Facebook profile URL) by thinking that they need to fill it. So when you remove URL field from comment form, it helps you in several ways to eliminate spam from your WordPress blog.
Prevented Links in Comments to Get Hyper-linked
Another action to fight against WordPress spam is to prevent links in comments to get hyper-linked. It isn’t effective against bots only, but when your visitors post links in comments for some reason, it prevents them to get hyper-linked and thus, your blog doesn’t look spamy. To prevent links in comments to get hyper-linked automatically, add below piece of code to your theme’s functions.php file:
remove_filter('comment_text', 'make_clickable', 9);
Last, I Installed GASP
Andy Bailey, the developer of CommentLuv plugin, has written this great plugin which adds a check box to your comment form which needs to be checked by your visitors before submitting their comment. The uniqueness of this plugin is that it doesn’t annoy your visitors like captcha plugins do. To check a single box isn’t hard for your real visitors at all, but yes, it is extremely difficult for bots to bypass GASP‘s security. I am thankful to Ehsan who recommended me this plugin.
So the combination of Akismet and GASP along with other modifications have now completely eliminated spam from blog. If you are also facing the issue of bulk spam flow, try the similar what I did. You will see how spam fails to find even a small hole to enter your blog 🙂