Protecting comments from spam. WordPress protection plugins against comment spam
WordPress is an amazing solution for webmasters that allows you to get rid of many of the problems associated with developing a full-fledged website. One of these problems is spam protection, which is often extremely difficult to deal with.
1. Akismet
This is a standard anti-spam plugin for WordPress, which is installed along with the CMS. It was one of the first developed for WP, with almost the same team that worked on creating WordPress. It's about about Automattic, as many of you have already guessed.
Akismet checks every comment you add for spam links, which you can later manually disavow or approve. It is worth noting that the functionality of this plugin is limited solely to checking and labeling comments.
2. Antispam Bee
Antispam Bee is another WP plugin that allows you to evaluate the various components of each comment and stop any spam. The plugin provides the ability to confirm which commentators you can trust.
The plugin also checks IP addresses, Gravatar, etc. This allows you to stop almost any attempt to post spam comments.
3. Anti-spam
This anti-spam method is offered in two versions: free and one that costs $15. Free version focused on automatic operation, and you won't be able to make changes to the settings: just install the plugin and it starts working.
The paid version allows you to set up your own filters, that is, use lists of words, and also specify the maximum number of words for each comment.
In fact, it is one of the most effective anti-spam plugins for WordPress.
4. WP-SpamShield Anti-Spam
An all-in-one anti-spam solution for WordPress that not only fights spam comments, but also filters out trackbacks from suspicious sources, spam in feedback and even suspicious accounts during the registration process. This plugin does not implement CAPTCHA at all, and therefore does not affect the user experience in any way.
WP-SpamShield works great with plugins like Contact Form 7, Gravity Forms, Ninja Forms, JetPack Contact Forms & Comments, BuddyPress, bbPress, WooCommerce and will help you get rid of spam forever.
5.Advanced Invisible Anti-spam
Almost the most effective protection from WordPress spam, which can easily cope with spammers without using captcha. Despite its simplicity, it works great with advanced caching systems. This plugin offers filters that any webmaster can easily handle.
6. WP Anti Spam
This spam filter for WordPress checks comments, IP addresses, nicknames, email and specified sites for spam. You will be able to specify a minimum and maximum word count per comment, which will help you avoid annoying comments with just a link. The plugin also provides the ability to use a list of words that are prohibited from being used in comments.
7.BotPlug
This is one of many paid plugins that will cost you $12. Not only will it save you from spam, but it is also capable of fighting malicious bots and brute force attacks. With this plugin you can limit the number of requests to the server that originate from a specific IP address. If a bot tries to bypass this restriction, it will either be redirected to another page or encounter a CAPTCHA that verifies that the requests are made by a real person. In addition, you can block individual IP addresses that have been detected as spam.
8. AlphaOmega Captcha & Anti-Spam Filter
Another plugin whose purpose is to protect against spam in WordPress comments. It shows a captcha, which allows you to confirm that the comment is written by a real person, and here it is important to note that not every webmaster agrees to use spam filters without using a captcha.
The comment counting feature will help determine the effectiveness of the plugin, as you will see the number of blocked ones.
9. Anti-Spam by CleanTalk
This plugin does not use captcha or other security methods that require mechanical intervention from users. Such solutions are gaining popularity very quickly, since users are already quite tired of captchas.
The plugin counts blocked comments, attempts to send spam through the feedback form, as well as through the registration form on the site. It is compatible with the WooCommerce plugin, which means your online store is on WordPress based will also be protected from spam.
10. ZWS WordPress Anti Spam & URL Filter
This plugin for protecting your site from spam works in two ways: different ways. One is to eliminate the “website” field during registration, where spammers often enter spam links. The second way is that you will be able to use lists of banned words, which then serve as beacons for the plugin.
11. WPBruiser (no-Captcha anti-Spam)
Last but not least effective plugin also does not use captcha, but successfully protects comments, feedback forms, registration forms, etc. from spam.
It automatically blocks IP addresses found to be sending spam. In addition, your site will be protected from brute force attacks.
Translation of the article “ 13 Free WordPress Anti Spam Plugins to Prevent Comment Spam” was prepared by the friendly project team
Hi all. If you have a WordPress site, then you must be familiar with the problem of your site being flooded with spam comments. Of course, the Akismet plugin, which is installed there by default, does an excellent job of dealing with spam in WordPress, but the problem with this plugin is that it often marks completely human comments from real people as spam.
Until recently, I constantly checked my spam folder for comments that had been mistakenly placed there. Usually a day on my blog, about 50-70 comments. Eventually I got tired of it and started looking for a way to get rid of it. automatic spam Once and for all. And I found such a way :)
The idea of a captcha, which could improve the situation a little, did not suit me at all. I think that today you rarely see captcha on blogs; it is becoming a thing of the past, and rightly so. I once wrote that using a captcha on a blog scares off most commentators, and using a creepy digital captcha completely kills the desire to comment.
After some searching, I found an interesting and simple way to protect against spam, which is in replacing text fields, that’s what I want to talk about.
The essence of this method is that we create a new comment field with a new name, and hide the old field from the eyes of visitors. The spam bot, out of habit, will enter a comment in the standard field, since it is configured for this, but it will not be able to send this comment :) At the same time, regular visitors will enter comments into the form with a new name, and they will not even notice any changes.
So, let's move on to implementing this method. There are two ways for events to develop: either you old version engine, and your comments are displayed through html code, or you latest version, and comments are output via the function comment_form().
First option
Let's consider the option when comments are displayed through html code.
The first thing we need to do is find in the file comments.php, in the folder with the theme, a line responsible for displaying the field for entering a comment. Usually it looks like this:
This line should be replaced with the following construction:
The next step is to change the styles for these shapes. In order to hide the old form from the eyes of visitors, add to the file style.css:
Spamform (display: none;)
If your old comment form had styles attached, then you need to replace it in style.css All id="comment" on id="newcomment", then yours new form comments will look the same as before.
Well last step paste at the end of the file functions.php(before the sign ?> ) the following function:
//spam_detect add_filter("pre_comment_on_post", "verify_spam"); function verify_spam($commentdata) ( $spam_test_field = trim($_POST["comment"]); if( ! empty($spam_test_field)) wp_die("no-spam"); $comment_content = trim($_POST["newcomment"]); $_POST["comment"] = $comment_content; return $commentdata; ) //end
Second option
Now let's look at the second option, when comments are displayed using the function comment_form() .
Here the algorithm is almost the same as in previous paragraph. All we need to do is add two functions to the function.php file:
//Add a comment field add_filter("comment_form_defaults", "change_comment_form_defaults"); function change_comment_form_defaults($default) ( $commenter = wp_get_current_commenter(); $default["comment_notes_after"] .= "
"; return $default; ) //end //spam_detect add_filter("pre_comment_on_post", "verify_spam"); function verify_spam($commentdata) ( $spam_test_field = trim($_POST["comment"]); if( ! empty($spam_test_field)) wp_die("no-spam"); $comment_content = trim($_POST["newcomment"]); $_POST["comment"] = $comment_content; return $commentdata; ) //end
The first function adds a new comment field (similar to
All that remains to be done is to close the old field from the eyes of visitors. To do this, paste it into the file style.css the following line:
Comment-form-comment (display: none;)
Again, in order for your new comment form to look like the old one, you need to style.css change everything id="comment" on id="newcomment".
After I changed the fields, I haven’t had a single spam comment on my blog yet. I think that if there is any spammer who writes a comment manually, then Akismet will easily find him :)
* * * Have you made a website, but don’t have time to support it? Entrust the Cocobolo agency to fill your site with content. The company professionally creates and maintains websites at very reasonable prices.
But there are many people who like to ruin other people's work or demonstrate their superiority. Today we will talk about spammers, they can cause you real trouble when you start your blogging journey.
To protect yourself from spam, you can use anti-spam plugins that will protect your blog. Here is a list of the best free WordPress anti-spam plugins that will help you save time and effort that you can spend on something more important.
1 – Anti Spam Bee
Anti Spam Bee- is the best solution to protect against spam on your WordPress blog. It has about 20 hand-picked features that you can customize just the way you like. This plugin does not store your personal data, so you don't have to worry about any information leaks.
No registration is required to use this plugin and it will also show static data for the last 30 days.
- No registration required.
- Does not store personal data.
- Free for commercial use.
- Has statistics for 30 days.
The Spam Free WordPress plugin will protect you from comment spam. This plugin will certainly reduce spam to zero and completely protect you from spam bots that will automatically leave spam comments on your blog. This is a very small plugin that uses very little memory, providing reliable protection.
Key points and features:
- Uses little memory.
- Protects against spam bots.
- It has pro version.
- Supports multiple languages.
Grow Map Anti Spambot Plugin- will protect you from automated spam bots leaving spam comments, the new improved spam bots are also limited in their actions, since a verification field is generated in your comments. This field will ask users to ensure they are not spammers.
You will be able to set the maximum number of comments from a user in the queue if you previously did not have approved comments from him.
Key points and features:
- Protection from automated spam bots.
- Generating a verification field.
- Limitation maximum quantity comments.
- Protection against new and improved spam bots.
WP Spam Shield Anti-Spam– in one plugin the solution to all your problems with spam, this plugin will save you from comment spam, registration spam, trackback and pingback spam. The special feature of this anti-spam plugin is that it uses a spam blocker contact form, so you don't have to worry about spam in your email.
To place a spam-blocking contact form anywhere on your blog, you can use a shortcode.
Key points and features:
- Doesn't have a captcha.
- Protects against various types spam.
- Has a spam blocking contact form.
- Shortcode functions.
You can protect your blog from spam very easily using the Zero Spam WordPress plugin. This plugin does not use captcha or user moderation to save valuable time for them and the administrator. You will be free from registration spam, as well as comment spam.
Available full support cache plugins, so there will be no problem if you use a caching plugin. There is IP spam blocking, when an IP blocks something that a user of a given IP cannot see on your site.
Key points and features:
- Doesn't have a captcha.
- There is no moderation.
- IP blocking function.
- Cache compatible.
This is a list of the best free WordPress plugin ov to protect your blog from spammers. Not included in this list Akismet, it is not free for commercial blogs. Many blogs are trying to make money, for this reason, this list includes only those plugins that are completely free. In addition, it filters too much. Often a lot of things end up in spam good comments, and on some blogs, these could be potential buyers who, without waiting for an answer, will leave and never return.
I personally use a long-proven method To view the link you need to:
Hello dear reader! Today we will talk about wordpress comments, about spam comments on blogs. I think you, like me, are already tired of constantly going to the “spam” folder and manually sorting through comments from automatic or, even worse, manual spam. Then look for a good, meaningful comment in this pile of rubbish, which was stuffed into the spam comments folder by mistake.
That's right, I'm terribly tired of this too. At first I installed many different antispam plugins to protect WordPress from spam. But as practice has shown, all these actions are ineffective. Therefore, one very interesting solution was invented, although it was not invented by me! I borrowed this method from some blog.
So, I decided to try it and implemented the hack on my blog. After three months, the flight was successful, not a single spam comment for three months. It’s hard to believe, of course, but it’s true. After the experiment, I came to the conclusion that my readers simply must know about protecting WordPress from spam comments using a useful hack - “field substitution”!
The essence of the method!
For manual spam, we will, as always, install a plugin Akismet. I think almost every blogger should have it. If it’s not worth it yet, then there is a lot of literature on the Internet about how to install it and how to activate it. This plugin will protect our blog from manual spam in comments. And the “field substitution” hack, in turn, will protect the blog from auto spam.
I think it’s worth noting two big advantages of this dance with a tambourine: first, we get rid of constant problem auto spam and secondly, you no longer have to edit engine files after updating WordPress. True, as always, there is a minus, you will have to cheat two files in our topic, comments.php And style.css. But in my opinion, this minus is insignificant.
The essence of the method is approximately the following! If you are an advanced blogger, you should know that the standard comment field is named comment , so we will hide the real field and replace it with a new real-comment field.
For your readers and visitors, everything will remain as before, but now they will fill in the visible real-comment field. But spam scripts will fill in the standard comment field, which we will hide. They don’t understand that a person will not be able to fill out a text field that is not visible on the blog pages. This is where we will catch a spam comment, because such a comment will be identified by the filled invisible comment field.
In general, everything is as simple as two and two. A person fills out the visible real-comment field, and a spam script will fill out the standard comment field in the old fashioned way, but this time invisible. A filled invisible field will be a spam comment! :-) I think it's time to get down to business!
1. Comments via the “comment_form()” function
If you display comments using the comment_form() function (this function was introduced in WordPress 3.0 so that using a file functions.php, it was possible to completely replace the standard comment form). If your template uses exactly this function, then you need to open the file functions.php and add the following code there:
//Adding your own comment field add_filter("comment_form_defaults", "change_comment_form_defaults"); function change_comment_form_defaults($default) ( $commenter = wp_get_current_commenter(); $default["comment_notes_after"] .= "
"; return $default; ) //END adding your own comment field
Now we hide our standard field comment, via file "style.css":
Comment-form-comment (display: none;)
So, we've completed the first part of the hack. Now we have a real-comment field that the visitor can see and fill in, and a standard comment field that is hidden! IN next step we need to determine which of these fields to skip and which to disable. If the visible field is filled, then we pass, and if the invisible field is filled, then we disable it. To do this, open the file functions.php and add the code there:
2. Comments not via the “comment_form()” function
If your comments are not displayed through the comment_form() function, like mine! In this case, open the file comments.php and find there the code that displays the field for entering a comment. Something similar to:
This code must be replaced with:
Now we need to hide the standard comment field. To do this, open your template's style file “style.css” and add the code there:
No-spam (position: absolute; left: -1000px;)
No-spam (display: none;)
Also in this method don't forget to add the code in the file functions.php, to determine which of these fields to skip and which to disable.
//Check for spam add_filter("pre_comment_on_post", "verify_spam"); function verify_spam($commentdata) ( $spam_test_field = trim($_POST["comment"]); if(!empty($spam_test_field)) wp_die("No spam!"); $comment_content = trim($_POST["real- comment"]); $_POST["comment"] = $comment_content; return $commentdata; ) //END spam check
That's basically it! Now spam comments will no longer disturb you and your blog. If you doubt whether you did everything correctly, you can check how this hack works to protect WordPress from spam. To do this, you need to remove from the file style.css changes made, refresh the blog page, fill out each comment field and try to post a comment!
All questions, wishes and comments, write in the comments to the article.
WordPress sites and blogs have always been a target for internet spammers. In this article I want to introduce 5 Powerful Antispam Plugins for WordPress to fight spam.
It's actually easy to set up a bot that will automatically filter comment spam and links in your posts and pages. But for beginner bloggers this can be very difficult to do, and sometimes even professionals are not able to cope with all this work.
You should also consider checking the comment sections of your site if you are truly concerned. Having thousands of unnecessary comments will simply overload your database. MySQL data, and your site will simply load slowly.
So, how to get rid of all those nasty comment spams and keep your control panel clean and transparent.
The best antispam plugins for WordPress
In this article I tried to compose. They all perform the same task, but with at different speeds accuracy and other detection system functions.
Several significant advantages of using them:
- They are free to use.
- You can easily and simply put human and bot spammers under your control.
- Your comments section will be cleared of garbage.
- You will notice an increase in the speed of your blog/site.
- And finally, you will save your time, which can be spent on writing or articles/content.
So let's start with our first anti-spam plugin.
This is the only one WordPress anti-spam plugin, which comes with the installation in the WordPress folder via zip file or with installation directly from your blog panel. This proves his authority. By this time it has been downloaded more than 17,840,202 times and almost every WP user uses it on their blog.
Akismet is not like any other plugin that performs crawling and analysis using your server resources. Instead, it will ask you to register first free account and use your personal API key for cloud detection systems.
Every time someone tries to post any comment on your post, he will be the first to analyze and publish or spam the comment on your site. The plugin, in turn, allows you to automatically filter out unnecessary trash and make the job simpler and easier.
This will certainly save two to three hours of your time, which can be spent on improving your content, promotion, etc.
NIX Anti-Spam Light
It's very simple, but still very powerful plugin. It does not create any load on servers when dealing with spam. In fact, it uses the power of a Java script to check and identify all comments not submitted through the browser.
And the best thing about it is that you don't have to produce any custom settings in the toolbar. Your readers or visitors should not indulge in entering all sorts of captchas from pictures or mathematical calculations to leave a comment on your blog.
Powerful plugin that uses cloud system detection, keeps comments clean. Whenever a visitor or user tries to leave a message on your blog, the data will first be sent to cloud storage, and from there the command will come to approve or reject the comment.
There is no external load on the server, you will receive high-quality dashboard to combat spam. The detection system of this plugin is completely hidden, there is nothing to disturb your website visitors. In addition, it allows readers to comment on your posts without entering any security captcha.
Remember, this plugin is free to use for 14 days only. And after that you must purchase an API key, which costs $4.99 for one year.
En Spam
The detection system works absolutely from JavaScript script and browser cookies. We all know that bots don't use the comment field for input. This is where they are caught.
En Spam plugin creates a JavaScript layer and uses browser cookies to determine whether the submitted comment is from real person. For all those visitors who have disabled cookies, it redirects to another page.
AVH First Defense Against Spam
This plugin is very popular in this category and is generally considered as the first anti-spam plugin. This is absolutely free tool for all those bloggers, webmasters, internet marketers and companies who use (content management system).
This plugin uses its detection systems and determines whether the person submitting the comment is a spammer or not. First, I check the IP address and address in all databases Email, and then check their blacklist and local IP cache.
Moreover, this plugin offers many features and customization options. The plugin is completely free.
All these five antispam plugins for WordPress Perfect for both professional and newbie bloggers. With them, it simply doesn't matter how many visitors or comments your site receives in a day, they don't use server resources, and therefore won't affect the loading time of your pages.