...

How to Add CAPTCHA in WordPress Login and Registration Form

306

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.

Preview of CAPTCHA enabled on WordPress registration page

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.

BWP reCaptcha 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.

Get reCAPTCHA using your Google Account

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.

Enter domain name

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 your public and private api keys to use reCAPTCHA on your site

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.

Enable reCAPTCHA for login and registration forms

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.

CAPTCHA enabled on WordPress login screen

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+.

Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.