Spam Comments and Fake Leads From Contact Forms: Filtering Without Losing Real Messages
Use layers: honeypot, timing, a challenge and server rules, then review the spam folder.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Layers
- Honeypot field hidden from people that bots fill.
- Time check: reject forms sent in under a couple of seconds.
- Challenge such as Turnstile, hCaptcha or reCAPTCHA. See reCAPTCHA, Turnstile or hCaptcha Not Working on Your Form: Common Setup Errors.
- Validate email and message length, and block links if you never expect them.
- Rate limit by IP.
- Keep spam in a folder for review instead of deleting.
Balance
Too strict a filter drops real customers, so test with your own submissions. See Stop Spam From Your Contact Form (HTML, PHP and WordPress).
Related guides
- WordPress User Can't See Posts They Created: Roles and Permissions
- WordPress Site Health Warnings: What To Fix First
- WordPress: Create a New Admin User via Database When Locked Out
- WordPress Automatic Updates: Enable, Disable and Safe Settings
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.