Spamming on WordPress blogs has become vital, just kidding, increasing day-by-day. You must be here looking up for solution to stop spam on your blog as well. To stop spam comments, I have covered two articles on How to Block Spam using HTACCESS and using Akismet Plugin. But these tutorials will only help you to stop spam commenting on your blog but not on contact forms. For a spammer, it’s just a Submit button required to do all the action.
If your WordPress Blog is using Contact Form 7 plugin, then beware that you can be spammer’s next target. Recently, I received few spam comments on my Email via Contact form 7 on thecreatology and it got worst with count of 50+. Annoying! Below is screenshot of the Inbox:
I tried tracking IP Address of all emails and the origin, but it was hard to block spammer access because they used a random IP Address every time. So, I had to install CAPTCHA in Contact Form 7 settings. In this tutorial, you will learn how to add CAPTCHA in Contact Form 7 Plugin to block Spam on Website.
Block Spam using CAPTCHA
CAPTCHA is an automated scripts made to validate forms submission. CAPTCHA reforms a word every time it refreshes. This makes it complex for spam bot to read CAPTCHA letters and auto submit form. To add CAPTCHA in WordPress Contact form, you will be required to install Really Simple CAPTCHA plugin. Below is stepwise procedure to add CAPTCHA in Contact form 7.
Step 1: Install Really Simple CAPTCHA Plugin
To install WordPress CAPTCHA plugin, login to WordPress dashboard:
- Navigate to Dashboard > Plugins > Add new Plugin.
- Search for Really Simple CAPTCHA plugin and click to install it. Refer to screenshot below.
- One the plugin is installed, activate it.
Are done with installation of plugin? Move on to configure Contact Form 7.
Step 2: Add CAPTCHA to Contact Form 7
You can add CAPTCHA in contact form in few easy clicks. Follow the procedure below:
- Login to WordPress Dashboard and navigate to Dashboard > Contact.
- Select the contact form to edit it, refer to the screenshot below.
- To add CAPTCHA, click on the Generate Tag drop down list on right, and select CAPTCHA option in the list, just like in the screenshot below:
- After you click on the CAPTCHA option, CPATCHA setting options will appear under the Generate Tag drop down list. Now, configure the options and copy-paste the code on the left side of the window. Refer to screenshot below:
- Once done, hit the Save button on top right and We’re Done! 😉
Now that you have added the code, refresh the contact form page and check it out, it will look similar to screenshot below:
Adding CAPTCHA will violate bots to submit spam on website. In a way you can focus more on blogging rather administering your blog.
In this article, we learned to add CAPTCHA in Contact Form 7 WordPress Plugin to block spam. If you have any queries or require any assistance, you can post a feedback using comment form below.