A growing site comes with new challenges and one of them is comment spam. Thankfully, there are plenty of solutions to effectively fight comment spam. For example, using Akismet you can effectively reduce comment spam. You can also use CAPTCHA to block spamming bots. In this article, we will show you how to reduce WordPress comment spam with Cookies for Comments.
First thing you need to do is install and activate the Cookies for Comments plugin. The plugin works out of the box and there are no settings for you to configure.
How Cookies for Comments Work?
Most of the comment spam is submitted by spam bots. These spam bots are basically software scripts that crawl the web looking for comment forms and then submit spam comments.
To spam thousands of websites, these programs donβt load images and stylesheets. The text on a page is enough for them to determine the presence of a comment form.
Cookies for comments plugin loads a stylesheet or an image when a page on your WordPress site is accessed. If the userβs browser downloads the stylesheet or image file, then the plugin sets a cookie in the userβs browser.
The plugin checks for the cookie when any user tries to post a comment. If the cookie exists, then this means that the user is not a spam bot.
If the cookie does not exist, then the user is most likely a spam bot, and the comment they submit is marked as spam.
How To Completely Stop The Spam Bots From Commenting
Cookies for Comments will successfully detect spammers, but it will let them post a comment. This comment goes into spam comments. With little more effort, you can stop the bots from posting a comment altogether.
To do that, you will need to find out the cookie value. Right click anywhere on the your website, and then select View Page Source.