Os comentários de spam são uma grande dor de cabeça. Para evitar comentários de spam, os blogueiros acabam tomando medidas rigorosas, como exigir que as pessoas se registrem ou que todos digitem um captcha antes de enviar um comentário. Os controles de prevenção de spam, como captchas, testes de matemática e registro, dificultam os comentários dos visitantes comuns. Ao implementar um desses métodos, você está punindo o público errado. Muitos comentários de spam são gerados por bots, que são programas criados para comentar em blogs e sites. Há um ditado comum que diz que você pode pegar mais moscas com mel do que com vinagre. Ele se encaixa perfeitamente aqui, pois estamos prestes a mostrar como você pode bloquear os bots de comentários de spam no WordPress com o honeypot.
O que é Honeypot?
Antes de falarmos sobre honeypot, vamos falar sobre como esses bots de spam funcionam. O WordPress é usado por milhões de sites. Isso significa que milhões de sites têm saída HTML semelhante para formulários de comentários. Isso torna mais fácil para os bots encontrarem blogs e postarem comentários de spam.
Honeypot é uma tecnologia de prevenção de spam. Ela engana e prende os bots de spam para que se revelem, dando a eles um desafio que os usuários humanos não podem ver.
Ao contrário de outros métodos de prevenção de spam que usam técnicas para descobrir se um comentarista é humano, o Honeypot verifica se o comentarista é um bot. Em vez de dar um desafio aos visitantes humanos, ele cria um desafio falso para os bots. Quando os bots preenchem o desafio, eles acabam se revelando e são pegos antes que possam publicar spam.
Bloqueio de bots de spam no WordPress com Honeypot
A primeira coisa que você precisa fazer é instalar e ativar o plugin WP Spam Fighter para WordPress. Depois de ativar o plug-in, vá para Settings ” WP Spam Fighter para configurar o plug-in.
Basta marcar a caixa ao lado da opção honeypot e salvar suas configurações.
O plug-in também oferece o método de registro de data e hora, que pressupõe que um usuário humano passará algum tempo lendo uma publicação antes de deixar um comentário. Se um usuário tentar publicar um comentário rapidamente, o plug-in mostrará a ele um pop-up em javascript.
As opções padrão devem funcionar para a maioria dos sites. No entanto, recomendamos que você revise as opções de configuração antes de pressionar o botão Salvar alterações.
Como funciona
Quando o honeypot estiver ativado, o WP Spam Fighter adicionará um campo de formulário oculto em sua área de comentários. Esse campo não será visível para usuários humanos, mas os bots o considerarão parte do formulário e o preencherão, identificando-se efetivamente como spambots.
Lembre-se de que esses métodos não o protegem contra spam enviado manualmente, que é inserido por visitantes humanos. Você ainda terá que usar um plug-in como o Akismet para capturá-los.
Para evitar mais spam nos comentários, confira nossas dicas e ferramentas para evitar spam nos comentários.
Syed Balkhi
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Stephanie Boucher
WP Spam Fighter has been withdrawn. I am using JG Spam Fighter which seems to work ok.
Gerard
You might want to search and advise for an alternative plugin. The one described here is getting severely outdated.
WPBeginner Support
Thank you for letting us know, we will certainly update any older articles as we are able
Administrador
rio
every day i got 10 spam comments. This is a good articles and i try to install this plugin but it not update for more than 2 years. Any other solution?
ramesh
How to find the fake Google Bots?
Simon Lock
WP-Spam Fighter has now gone for more than 9 months without being upgraded. According to WordPress it has not been tested for WP4.4.
Do you still advise installing this plugin or is there something else that is more up to date and known to work with WP4.4?
Your wise counsel would be appreciated
Simon
David Kinlay
I am not sure why I can’t comment on articles in blogs, treating them as spam
WPBeginner Support
Your comment appears alright in our pending queue and not marked as spam
Administrador
David Kinlay
I have been trying to get an answer re why every comments made on blogs returns to me stating that they are spam. Logged in to WordPress
Sephora
Hi, nice articles. I wanted to download BotBlocker plugin but I realized that It haven’t been update for 3 years. I really the idea of challenge Bots instead of Humans. Do you know another plugin that can do the same ?
GreaterLight
I have installed Stop Spam Registrations plugin per your other blog article here: https://www.wpbeginner.com/plugins/how-to-stop-spam-registrations-on-your-wordpress-membership-site/
My Akismet is doing a pretty good job of catching the spam COMMENTS but I am bleeding spam registrations.
I have my API for BotScout applied and I have an account set up with HoneyPot. It is telling me I need to install a script on my site. I am trying to determine if I do indeed need to install the script if I am using the Stop Spam Registration plugin. Can you clarify? Thank you
Eguide
Thank you so much for recommending this BotBlocker, it helps in stopping bot attacking my site, where there are over 79,000 of comments posted and approved without my knowledge! I then install delete all comment plugin to clear all comments. Cannot imagine what to do without this plugin to stop these bot on their track!
Mike
Hi, how does this work with auto-complete tools, like the feature built into Chrome? Won’t the browser also wrongly detect the forms via their fake names and fill them in when the user chooses to autofill?
Paul
Who well does it do at blocking spam comments compared to Akismet?
Editorial Staff
Unlike Akismet, this doesn’t block manual spam comment. This is only for spam comment bots.
Administrador
Hans
Thought this would work, so I installed the plugin…….It doesn’t.
It stops ALL entries.
The last update for Bot Blocker was 275 days ago and questions are not being answered on wordpress.org.
Looks like it’s an abandoned plugin.
Pablo
Yep, same here. The only way I can post a comment is if I’m logged in as an admin or if the plugin is off.
I’d be nice if someone here could help because the support forums seem abandoned.
Denny Brown
This is also my experience. Hans and I have both posted on the BotBlocker support page at http://wordpress.org/support/topic/plugin-botblocker-flagging-all-comments-as-spam
Vivek
I wonder why articles in WPBeginners get very little comments though the article has been popular on Social media networks.
Editorial Staff
Mainly because we only approve helpful comments for the most part. If you leave comments like great plugin, or great tutorial like most folks do, we simply don’t approve them. The purpose of comments is to add value (i.e questions, thoughtful opinions, suggestions, personal experience, etc).
Administrador
Pete
I suppose it needs to be asked…
“Manually submitted spam is submitted by human visitors. You will still have to use a plugin like Akismet to catch those. ”
What’s the benefit with the honey pot method when Akismet will pick it up anyway?
Jacob
Those who self-host WP blogs have to pay for Akismet and may not want to do that.
Daniel
So I can use Honeypot and Akismet together with no issues?
Editorial Staff
Yes, you should be able to do that.
Administrador