How to Add CAPTCHA in WordPress Login and Registration Form
Spam registrations can be a headache for WordPress membership sites specially the free ones. One way to avoid them is by using CAPTCHA which effectively blocks spam bots on both login and registration forms. In this article, we will show you how to add captcha in WordPress login and registration form.
Video Tutorial
Subscribe to WPBeginner
If you don’t like the video or need more instructions, then continue reading.
First thing you need to do is install and activate the Better WordPress reCAPTCHA plugin. Upon activation, the plugin will add a new menu item labeled BWP reCAPT in your WordPress admin. Clicking on it will take you to the plugin’s general settings page.
You will be asked to provide the public and private API keys to use Google’s recaptcha API. To obtain these API keys, you need to visit reCAPTCHA website and click on the Get reCAPTCHA button.
On the next screen, you need click on the Signup or Sign in button and login using your Google account. Once you are logged in, you will be asked to enter a domain name where you plan to use reCAPTCHA.
Next, you will need to click on My Account tab and then select your domain name. This will take you to the page with your public and private API keys.
Copy and paste your public and private API keys on the plugin’s general settings page in your WordPress admin area. Below the API keys, under the Plugin Functionality section you need to check the boxes next to Registration form and Login form options.
Better WordPress reCAPTCHA plugin also allows you to add reCAPTCHA to your WordPress comments form. If you want, then you can also enable reCAPTCHA for comments.
That’s all, you can now click on the Save Changes button to store your settings.
To see the recaptcha in action, logout of your WordPress admin area. You will see recaptcha enabled on your login form. Click on the register link, and you will also see it in action on your WordPress user registration page as well.
W hope this article helped you add CAPTCHA in WordPress login and registration forms.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.