Guides › Hosting, domain & email › Security & hacks

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.
Security and hacking

Layers

  1. Honeypot field hidden from people that bots fill.
  2. Time check: reject forms sent in under a couple of seconds.
  3. Challenge such as Turnstile, hCaptcha or reCAPTCHA. See reCAPTCHA, Turnstile or hCaptcha Not Working on Your Form: Common Setup Errors.
  4. Validate email and message length, and block links if you never expect them.
  5. Rate limit by IP.
  6. 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

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.

Last updated 2026-11-21.