Daily Tip: Add a Honeypot to Contact Form 7 to Prevent Spam
July 1, 2011
If you’re a fan of the popular Contact Form 7 plugin but don’t like using ugly CAPTCHAs, you may want to consider adding the new Honeypot for Contact Form 7 plugin. It introduces an additional field in the form that, when filled out. will cause the form not to validate.
The idea of a Honeypot is that it provides an irresistable trap for the bots. Bots are stupid and they will attempt to fill in all of the form fields with their junk. The Honeypot for Contact Form 7 plugin catches them red-handed.
Download the plugin for free from the WordPress repository. The next step is to choose “Honeypot” from the Generate Tag dropdown within your contact form. Change the Honeypot ID and insert the generated tag anywhere in your form. Click save and you’re set!
Because this plugin/widget is provided free of charge, I simply ask you to link back to Pressography.com in a post on your blog, or from one of your sites. It doesn't need to be anything fancy - just a note saying that you're using it, and whether or not you like it. However, there is no requirement that you do this, you're free to use the plugin regardless.



Comments
Got something to say?