Learn how to fix WP – Beginner’s Guide for WordPress

Learn how to add reCAPTCHA to the WordPress comment form

Learn how to add reCAPTCHA to the WordPress comment form

Learn how to add reCAPTCHA to the WordPress comment form – Do you want to upgrade the WordPress comment form to include reCAPTCHA?

On WordPress websites, the number of spam comments has gone out of hand. Instead of turning off comments, you can almost completely stop spam by adding CAPTCHA to the form where people leave comments.

This guide will show you how to quickly add reCAPTCHA to the comment form on your WordPress website.

Learn how to add reCAPTCHA to the WordPress comment form

How Does Google ReCAPTCHA Work?

Comment spam is a concern on many WordPress websites. About 7.5 million spam comments are blocked per hour by Akismet, a well-known spam filtering service for WordPress. One of the greatest methods to combat it is via ReCAPTCHA.

ReCAPTCHA is a more sophisticated version of CAPTCHA that can tell a human user from a robot. The term “Completely Automated Public Turing Test to Tell Computers and Humans Apart” (CAPTCHA) really stands for this.

In 2009, Google bought the reCAPTCHA technology, which it later renamed. Additionally, they made it simpler for human users to pass the exam.

Users must choose the checkbox showing they are not a robot in order to pass the test. Either they will be turned down right away, or they will be shown a series of photos and have to pick the things that go with them.

google recaptcha tickbox

Google has made reCAPTCHA public so that website owners can use it on comment forms, login sites, and contact forms. This is to cut down on spam.

Setting it up and adding it to the WordPress comment form is quite simple.

With that stated, let’s look at the simple, step-by-step process for adding reCAPTCHA to the WordPress comment form.

Installation of the WordPress reCAPTCHA Plugin

Installing and turning on the Simple Google reCAPTCHA plugin is the first step.

Once the plugin is turned on, you can change its settings by going to Settings » Google reCAPTCHA.

recaptcha settings

You will be prompted by the plugin to enter your Google reCAPTCHA API credentials. If you go to the official reCAPTCHA website and click “register your domain” at the top of the page, you can get these keys for free.

Register your website to get reCAPTCHA API credentials.

It will direct you to the Google reCAPTCHA page if you click the “register your domain” option. Here, you may sign up for your website to use reCAPTCHA.

Your Google account must be used to log in. The “Register a new site” page will then appear, asking for some basic information in order to register your site.

You must first enter the name of your website or another name in the Label field. This will make it simple for you to locate your site in the future.

recaptcha options

Selecting the reCAPTCHA V2 radio button is the next step.

As a result, we’ll have three new possibilities. You must choose the “I’m not a robot” option if you wish to add the reCAPTCHA checkbox to your website.

You may enter the domain name of the website where you want to place the reCAPTCHA checkbox in the Domains textbox.

Adding numerous domains or subdomains is also possible by selecting the addition (+) sign. You’ll be able to utilize the same API keys on several websites thanks to this.

add domain and email to recaptcha site

Google will already include your email address under Owners. If you’d like, you may also add another email.

To utilize Google reCAPTCHA on your website, you must first agree to the terms of service.

Check the box next to “Send alerts to owners” to allow Google to inform you if they discover any issues with the way your account is configured or if they suspect anything is off.

submit and register site

After completing the form, use the “Submit” button to register your website.

You will now see a success message from Google reCAPTCHA along with the site key and the secret key on this page.

copy site and secret keys

These API keys are now used in the plugin settings on your website.

reCAPTCHA integration with the WordPress comment form

When you get back to your site’s admin panel, look to the left and click Settings » Google reCAPTCHA.

You must paste the site key and secret key on the settings page.

recaptcha keys

reCAPTCHA verification will now be available on the WordPress signup, password reset, new password, login, and comment forms.

By selecting the checkbox, you may choose to turn off reCAPTCHA on the login form.

Click the “Save Changes” button when finished to save the API keys and enable reCAPTCHA.

Congratulations! reCAPTCHA has been successfully applied to your WordPress comment form. You can now see if it’s working right by looking at the comments section of your blog posts.

recaptcha comment form

Keep in mind that the reCAPTCHA button will only be shown to users who are not signed in. You must log out of WordPress or access your website in a window that doesn’t monitor you in order to see reCAPTCHA.

We really hope that you learned how to add reCAPTCHA to the WordPress comment form on your website using this article. You may wish to take advantage of Learn How to Add Wholesale Pricing to WooCommerce.

Learn how to add reCAPTCHA to the WordPress comment form

Previous Post
Next Post