How to stop WordPress form spam without a CAPTCHA

Written by

in

Every public form attracts spam. The usual answer is a CAPTCHA: click the traffic lights, type the wavy letters. It works to a point, and it makes every honest visitor pay for the robots. People with low vision or on a slow phone pay the most.

There are quieter ways to stop most spam. Legba Form uses several of them together, with nothing for the visitor to solve.

1. The honeypot

A honeypot is a field that people cannot see but robots fill in anyway, because they fill in everything. If that field has a value, the entry is rejected. Real visitors never notice it.

2. Minimum filling time

A person needs at least a few seconds to read a form and type an answer. A script submits in a fraction of a second. Refusing entries that arrive too fast removes a large share of automated spam.

3. A signed timestamp

Some robots replay an old copy of a form again and again. A signed timestamp proves that the form was loaded recently from your site, and cannot be forged or reused indefinitely.

4. A rate limit per visitor

Nobody needs to send your contact form twenty times in an hour. A limit per visitor stops floods without affecting normal use.

5. Blocked words and domains

If the same spam keeps coming, with the same link or the same phrase, add it to the blocked words. You can also block email domains that only ever send junk.

6. Akismet, if you use it

If the Akismet plugin is active and connected on your site, Legba Form can check entries with it. This is optional and off unless you turn it on, because it sends the content of the entry to an outside service.

What about the spam that gets through?

No filter is perfect. Entries that look suspicious go to a spam view rather than disappearing, so a real message caught by mistake can be recovered. Check it from time to time, especially in the first weeks.

When a visible check is justified

Forms that trigger something costly, such as a payment or an account creation, can deserve a stronger check. Legba Form Pro adds Cloudflare Turnstile, which verifies most visitors without a puzzle.

For contact, registration and survey forms, the invisible techniques above are usually enough, and they are all in the free version. Install Legba Form from WordPress.org.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *