Knowledge Base

How to add CAPTCHA protection to a WordPress site

This article describes how to add CAPTCHA protection to a WordPress site using the Google Captcha (reCAPTCHA) plugin. CAPTCHAs help protect your site from spamming by bots and other malicious actors.

For general information about what CAPTCHAs are and what they do, please see this article.
You may want to consider installing the A2 Optimized for WordPress plugin. Besides adding CAPTCHA protection, this plugin includes other optimizations to help secure and accelerate WordPress sites. For more information about the A2 Optimized for WordPress plugin, please see this article.

Adding CAPTCHA protection

To add CAPTCHA protection to a WordPress site using the Google Captcha (reCAPTCHA) plugin, follow these steps:

  1. Log in to WordPress as the administrator.
  2. Under Dashboard, click Plugins, and then click Add New.
  3. In the Search text box, type google captcha.
  4. Click Search Plugins.
  5. Locate the Google Captcha (reCAPTCHA) plugin, and then click Install Now.
  6. After WordPress finishes installing the plugin, under Dashboard, click Plugins, and then click Installed Plugins.
  7. Locate the Google Captcha (reCAPTCHA) plugin, and then click Activate.
  8. Click Settings.
  9. You must create a public and private key to use Google Captcha. To do this, click the registration link under Authentication, and then follow the instructions.
  10. After you receive your keys from Google, type the public key into the Public Key text box, and type the private key into the Private Key text box.
  11. Under Options, select the settings that you want, and then click Save Changes.
  12. CAPTCHAs are now activated for your site. To test this, go to your WordPress site's front page, and then click the comment link for a post. WordPress displays a CAPTCHA in the submission form.

More Information

For more information about the Google Captcha (reCAPTCHA) plugin, please visit http://wordpress.org/plugins/google-captcha.