Contact Form 7 is my favorite free WordPress plugin for making (you guessed it…) Contact Forms. It’s a very popular plugin, and that means that spammers have decided it’s worth their hassle to write some scripts to spam you through Contact Form 7.
Assuming your viagra need are sufficiently filled, you won’t be needing to see these emails. So let’s figure out how to stop those spam messages from getting to you without making life more difficult for the real people who might want to use your form.
Based on my experience, these three changes should help really cut down on spam in Contact Form 7.
- Spam filtering with Akismet: Follow these instructions to make Contact Form 7 use akismet to test and see if the submission is spam.
- Install Bad Behavior Plugin: Install Bad Behavior. You can read more about BB, but it works in a unique way to test for spam.
- Install Cookies for Comments: Because most spam bots’ browsers can’t accept cookies, this plugin will try to set a cookie on a user and if the cookie isn’t there then it considers it spam. The plugin also tests to see how long it took the user to leave the comment. If the commenter took a very short time (think a second or two) to leave a comment, chances are it’s spam.
Once these three changes have been made, your contact form should let much less spam through. Of course, if you want to try a paid plugin for contact forms, I personally really love Gravity Forms.