How can you organize spam protection in wp if you have a contact form 7 plug-in. After reading a lot of information, I realized that it is necessary to install spam protection plug-ins, but the plug-ins are mostly paid. The second way that I found is to add a hidden field of the email type (for example), and then check it for emptiness (the person will not see it, the bot will fill it out) - how effective is this way and how does someone implement it?
- And there can not be a captcha there? - Oleksandr
- The proposal was, but they said it as a last resort. Do not want to increase the load on the user. Are there any other options? - Alexey
- I made the button "send a message", by clicking on which I make the form visible and change the action from localhost to real. and all - splash58
- If I understand correctly, because I use CF 7 I cannot influence the primary reflection in the action of the value, it automatically substitutes. And if you remove it after loading, then this method seems to me to be ineffective due to the fact that spam bots do not wait for loading styles, scripts, etc., and when finding forms in the layout, they immediately send (in some cases bypassing a click on the button) - Alexey
- I don’t know about it: (I don’t use Word Press - splash58
|
2 answers
The easiest and most effective way is to install the Invisible reCaptcha for WordPress plugin.
- I understand you, but you also understand. I am just a barbarian, all the requests are on the customer’s side and he doesn’t want additional manipulations (here you have to press and wait). I solved the problem (I hope I decided) by installing the Contact Form 7 Honeypot plugin. It adds a field to a form that, by default, is not filled in, has type emeil (or another one which is set) and is hidden from the user's eyes. As he wrote above in theory, the bot will fill, but the person does not. - Alexey
- 2I am telling you for the tenth time - you don’t have to press anything and wait. Do you ever bother to read what is invisible recaptcha - KAGG Design
- So say "double" this answer. Invisible reCaptcha is really the most appropriate solution based on the problem. Article on Habré - RTK
- I read a bunch of stuff about installing this recaptcha. The method is described everywhere; you need to call a callback function in which you specify
document.querySelector( '.wpcf7 form' ).submit();. But in this case, the page is reloaded and the substitution of the form id into the url address. How to avoid it? - Alexey - Do not reinvent the wheel, and install the plugin, which I have indicated. It is perfectly integrated with Contact Form 7. - KAGG Design
|
How can we organize spam protection in wp in the presence of the contact form 7 plugin
Use the built-in question-answer mechanism. Only questions come up with a unique, not a "third planet from the sun."
|