How to Add reCAPTCHA WordPress Comment Form

In this article we are going to learn how to add reCaptcha WordPress comment form. The main reason why you need to add reCaptcha into your WordPress comment forms is to prevent spam and also to improve security and avoid hackers taking advantage of using comment forms to embed scripts on the site.

Steps on how to add reCAPTCHA WordPress Comment Form

Here will make use of a WordPress plugin called Simple Google reCAPTCHA. You will have to install and activate the plugin. 

See our step by step on how to install and activate wordpress plugins.

After activation you will be redirected to the plugin setting page as shown below.

Add reCAPTCHA WordPress Comment Form

Next you will need to register your site domain within google recaptcha page and then generate site and secret keys required.

Generating reCaptcha Keys

Login into your recaptcha admin console by following this link https://www.google.com/recaptcha/admin/ you will need google account to be able to login.

Next click on the + sign to register your site and generate recaptcha keys as shown below

Google recaptcha

Next fill in the following items (label, choose version v2, add your domain, accept terms and conditions) click on submit as shown below.

google recaptcha settings

You will be redirected to the next page where you will be able to copy both site and secret keys as show below.

reCaptcha Keys

You will then need to copy both these keys and add them in the site and secret key fields within the recaptcha plugin settings page cliekc save changes as shown below.

where to insert reCaptcha Keys

That should be it, recaptcha should now be shown in your comments forms within the site. As shown below.

recaptcha on comment form wordpress

Please note: You will only be able to see the recaptcha if you are not logged in otherwise when logged in you won’t be able to see it. 

I hope this helps you in adding recaptcha form on the comments form, if you have any suggestions or questions kindly leave your comment below.

Leave a Comment

Your email address will not be published.