Menu

Stop contact form spam without a CAPTCHA: five checks we use on WordPress
📰

Stop contact form spam without a CAPTCHA: five checks we use on WordPress

DEV Community: php·Hiperlink Digital·about 5 hours ago
#R9FA0O1R
#devto#dev#form#spam#address
Long article (950 words) — no AI summary yet.
Reading 0:00
15s threshold

Most contact form spam comes from simple scripts, not people. This guide shows the checks we use on our own WordPress form, what each one stops, and why some enquiries are marked for review instead of being thrown away.

Look at the spam before choosing a fix.

Between 3 and 22 October 2026, the English version of the contact form on our website delivered 11 messages. We opened the six most recent. Five came from the same automated sender, each a single sentence asking for the price in a different language. One was a sales pitch. None was a real enquiry.

The pattern matters. The sender loaded the page before posting, so it passed the hidden field and the security token, and it sent too rarely to reach a rate limit.

Spam sent directly to the mailbox address is a different problem. The mail provider filters it, and nothing on the website changes that.

What each check stops.

Hidden field

A field people never see. Many scripts fill in every field, so a value there means a bot.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.