Two messages in ten seconds come from a person in a hurry. Twenty are a bot. For Contact Form 7 spam and spam in comments the plugin relies on exactly this difference.

How the Contact Form 7 spam limit works
A logged-out visitor who submits more than N comments or forms (2 by default) within a short window (60 seconds by default) is blocked only for that type of submission, for a configurable length of time (1 hour by default). The pages stay reachable: what is refused is the submission that looks like Contact Form 7 spam, not the visit. Someone who overdid it in good faith doesn’t lose the site.
It works with comments disabled too
The count lives in a dedicated table. If comments are off and the only way in is the contact form, the limit still protects you from Contact Form 7 spam.
What you can adjust in the Contact Form 7 spam limit
These settings shape how the Contact Form 7 spam limit behaves:
- A separate switch for the limit and for the email alert.
- Alert on authors is on by default, the one on visitors is off.
- N, window and block length, all adjustable.
- Cisilino Site Defense Network: the WordPress security plugin
A classic scenario
A brochure site with a single contact form can suffer classic Contact Form 7 spam: every night a bot sends hundreds of requests full of links. The company mailbox becomes unusable. With the limit on, the bot crosses the threshold after a few requests, its IP stays out of the forms for an hour and the flow stops. Anyone who really writes from another address doesn’t notice. The form plugin’s own page is Contact Form 7 on WordPress.org, useful to check which version you run.
A warning for sites behind a proxy or CDN: if every visitor appears to come from the same address, the block would hit everybody. Before switching it on, check that WordPress sees the real IP.
Frequently asked questions
Does the limit block the whole site for the visitor?
No. It only refuses the submission of comments or forms, the pages stay reachable.
Does it work against Contact Form 7 spam?
Yes, it counts both comments and Contact Form 7 form submissions, even with comments disabled.
What values does it use by default?
More than 2 submissions in 60 seconds, a 1-hour block. All values are configurable.
Leave a Reply