How to Add Google reCAPTCHA to WordPress Single Password Form

reCAPTCHA is one of the most popular ways to enhance site security. By adding Google reCAPTCHA to your single password form, you can prevent password abuse and spam by automated software while allowing your users to access protected content with ease.

The newest version of reCAPTCHA is v3 which runs silently in the background without interrupting the user interaction.

Simply follow the steps below to prevent password abuse with reCAPTCHA.


Register a site

You’re required to register your site domain with Google before you can add reCAPTCHA to your site.

To do so, go to the reCAPTCHA admin panel and provide the related information.

Once done, you will receive a site key and secret key to connect our plugin with the reCAPTCHA service.

Configure reCAPTCHA settings

After activating our plugin, navigate to Password Protect WordPress >> Integrations under the admin dashboard.

Then enable “reCAPTCHA” protection and input the keys you’ve received.

If the site key and secret key are input correctly, a reCAPTCHA icon will display at the right bottom corner of your website. Otherwise, nothing happens.

Unlock password form including reCAPTCHA

If a user fails to validate the reCAPTCHA, he will see an error message asking him to try it later. As a result, he won’t be able to unlock the content even with the right password.

The administrators can change the default error message under Appearance >> Customize >> PPWP Single Password Form >> Error Message section.



Lasted updated on November 2, 2020