When you own a website or blog, whether it's on Wordpress or not. I find that there is nothing more boring than having to delete or filter the spam on his blog … It's annoying, it weighs down the site unnecessarily and it wastes time … There are different types of spam: we have spam spam unwanted emails that offer you viagra, drugs and sex expander, spam on websites that are unwanted comments, and as technologies evolve, spam also evolves: SMS, Skype, etc. The 1st category of spam, I had already proposed various antispam methods here and there. To see more articles, look at the hashtag "antispam." For the 2nd category, I talk about it in this article. All webmasters with a website or blog on Wordpress are confronted with the plague of spam as soon as the site is somewhat known. Spammers are never short of ideas to pass you in your comments dozens of links from their site all rotten and believe me, some do not go dead hands! I once "had fun" counting the number of links he was trying to insert in a single comment… Well, the maximum I counted was 35! As many as some put only one (the one that is related to the nickname), as many others go to the full! The funniest thing anyway, is those who use bots and whose comments or words are cut in the middle! Or who uses 2 languages in the same comment. But hey… in a sense, it must also be said that search engines do not look at whether the sentence is complete or not, nor if it is understandable, they are not so intelligent … Okay, let's move on to ways to eradicate all this spam, here are 6 anti-spam tips:
Akismet is a plugin provided by default in Wordpress. You need to register (free for personal blog) on their site to get a key that you will need to insert in the settings of the plugin for it to work. Their servers detect spam pretty well and are still online, but some of the comments are false positives. Akismet puts all the comments they detect as spam in the unwanted categories of Wordpress.
Cloudflare is an internet service. I've already talked about it to secure his site. You need to have your own DNS for it to work. It's already a little more technical than installing a plugin under Wordpress. But it's worth it because unlike Akismet, which unseen comments, Cloudflare blocks them at the source. As a result, you won't even see them! There are several levels of protection you can choose from and it's free!
Block comments with 10 characters
With Akismet and Cloudflare, you're 99% protected! But since not everyone has their own domain name, here's another tip: Wordpress has its own spam blocker, but it works according to the data you provide. If you tell him that all comments containing the word "spam" is unwanted, he will delete all comments with that word. If you don't put anything, it won't delete any comments. In your Wordpress dashboard, go to
- and on a blacklist, put these 10 characters (one per line): ', ', ', ', ', ', ', ', ', ', ', ', ', ', ', ', 'O', ', 'O', ', 'O', ', 'O', ', 'O', ', 'O', ', 'O', 'O', 'O', 'O', 'O', 'O', 'O'
With this, you are protected from all comments having these characters, which still represents a lot of spam!
Install the Simple Trackback validation plugin, it will block spam at trackback level.
I also talked about it in Securing his Wordpress site in the .htacess file. Yes, as spam is unwanted comments, it's also included in everything that is attack, virus, and others!
The technique of Honey pot, a jar of honey in French, is to set a trap for bots that leaves comments. The plugin creates an invisible field for normal users, but visible for bots. The bots will rush to put something inside. Once done, they fell into the trap (fly shit). And if this field has been filled, it's because it's a bot. Since real Internet users do not see it and do not know how to access this field! And voila, spam is filtered! A Wordpress plugin that does this job very well is: NoSpamNx There are also other solutions like captchas, but these are annoying for visitors who leave comments!