How to Block Contact Form Spam in WordPress

图片[1]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复

Are you receiving tons of spam emails through your website's contact form? This situation can give you a headache, but WordPress offers several automated ways to block spam contact forms.

In this article, we will share 5 speciesEffective methods to help youReduce and stop Contact form spam in WordPress.

Why do I need to block contact form spam?

Contact form spam is usually sent by auto-generated bots. Even smaller WordPress blogs and websites are easy targets. These spam bots crawl websites and look for insecure forms in order to spam you with links via email.

Here are a few effective ways to help you prevent contact form spam on your WordPress website.

1. Choose the right WordPress form plugin

Many WordPress contact form plugins do not have built-in spam protection. We recommend using the WPForms plugin because it has powerful built-in anti-spam features such as reCAPTCHA and custom CAPTCHA that effectively block spam without affecting the user experience.

Steps:

  1. Installation and activation WPForms Plug-ins.
图片[2]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. Create a new contact form.
  2. WPForms automatically enables anti-spam tokens for your forms.
图片[3]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复

2. Use ReCAPTCHA check box

Provided by Google ReCAPTCHA Tools can effectively block spam bots.

Steps:

  1. Enable reCAPTCHA in the WPForms settings.
  2. Get Google reCAPTCHA site key and secret key and add them to WPForms settings.
图片[4]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. Add the reCAPTCHA checkbox to your contact form.
图片[5]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复

3. Utilization Google Invisible reCAPTCHA

Invisible reCAPTCHA works like regular reCAPTCHA, but does not require the user to check the checkbox.

Steps:

  1. Select "Invisible reCAPTCHA badges" on the Google website.
图片[6]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. Enable "Invisible reCAPTCHA v2" in WPForms settings.
图片[7]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. Add invisible reCAPTCHA to your contact form.

4. Use of customized CAPTCHAs

Some website owners don't want to use Google's reCAPTCHA. WPForms Pro offers the Custom CAPTCHA plugin to create your own question-based CAPTCHA to block spam.

Steps:

  1. Activate the Custom CAPTCHA plugin in the WPForms plugin.
图片[8]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. Add the Custom Captcha field to your contact form.
图片[9]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. Create several different questions to increase the difficulty.
图片[10]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复

5. Prevent spam bots from seeing your form

Spam bots can be blocked by password-protecting your contact form or by displaying the form only to registered users.

Methods:

Password protection:

  1. In the WordPress editor open the "Contact Us"Page.
  2. Set the page to "password protection".
  3. Enter your password and save the page.
图片[11]-如何在 WordPress 中阻止联系表单垃圾邮件-光子波动网 | WordPress教程、Elementor教程与故障修复

concluding remarks

There are many ways to stop WordPress contact form spam. Choosing the right method will not only improve the security of your website, but also enhance the user experience. If the problem persists, it is recommended to check other possible causes such as file permissions or plugin conflicts.


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
客服微信
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: [email protected]
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
本文作者:红牛独立站
THE END
If you like it, support it.
kudos0 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments