Skip to content
PublishPress
  • PluginsExpand
    • Authors
    • Blocks
    • Capabilities
    • Checklists
    • Future
    • Permissions
    • Planner
    • Revisions
    • Series
    • Statuses
  • Docs
  • Support
  • Testimonials
  • Blog
  • Login
Buy Now
PublishPress

Use hCaptcha for WordPress to Block Bots on the Login Page

BySteve Burge October 5, 2022January 15, 2024

Spambots and other automated scripts constantly probe the internet looking for weaknesses in WordPress websites. hCaptcha for WordPress is designed to identify these bots and prevent them from accessing your site.

In this post you'll learn all about hCaptcha for WordPress and see how it fits into the overall strategy for securing the login area on your website.

Table of Contents

  • What is a Turning Test, CAPTCHA and hCaptcha?
    • The Turing test
    • CAPTCHA
    • hCaptcha
  • hCaptcha for WordPress
    • Obtaining the hCaptcha keys
    • Installing the plugin
    • Configuring the plugin
  • Using the hCaptcha for WordPress plugin

What is a Turning Test, CAPTCHA and hCaptcha?

Before we begin, let's define a few things.

The Turing test

The Turing test was first proposed by English mathematician and computer scientist Alan Turing in 1950 to determine if machines could think. In this test, a human evaluator judges whether answers to natural-language questions are from a human or a machine.

CAPTCHA

CAPTCHA is an acronym for Completely Automated Public Turing test to tell Computers and Humans Apart. A typical CAPTCHA is a distorted image of a word. Correctly deciphering the word is the challenge for the user.

In this case, a computer administers the CAPTCHA to a human. This is called a reverse Turing test.

reCAPTCHA is a popular CAPTCHA implementation where challenge words originally came from digitized books. Assembling the solved challenges helped digitize books until it was

Google acquired reCAPTCHA in 2009 and repurposed it to identify images.

hCaptcha

Developed in 2017, hCaptcha is a privacy-focused alternative to reCAPTCHA. Like its predecessors, hCaptcha protects websites from spambots and other automated tools.

In this case, the Turing test requires site visitors to read a phrase and select specific images from a set of similar imagines. For example, the test may begin with a gallery of nine images of random vehicles. A successful Turing test would require the user to select only the trains from the other vehicles.

Notably, websites that use hCaptcha can earn revenue online by solving CAPTCHAs.

hCaptcha for WordPress

hCaptcha for WordPress
The hCaptcha for WordPress plugin

hCaptcha for WordPress is a free plugin that has been available on the WordPress repository since 2019. Once installed and configured, the plugin will present the hCaptcha Turing test on the the WordPress login page.

Obtaining the hCaptcha keys

Before proceeding, be sure you have created a free hCaptcha account and logged into the hCaptcha website. Once logged in:

  1. Click the Sites link in the top menu then click the New Site button.
  2. Add a Name and Domain for the site. The remaining defaults should be fine as shown below.
  3. Click the Save button to complete the site addition and return to the Sites area where your new site should be listed.
  4. Click the Settings button for the new site. Copy the Sitekey for use below.
  5. At the top-right, click your profile icon and then click Settings. Copy the Secret key for use below.
hCaptcha settings

Default settings for a new site in hCaptcha.

Installing the plugin

To install the plugin:

  1. Login to your WordPress backend using an account with administrator privileges.
  2. One the left sidebar choose Plugins > Add new.
  3. Search the available plugins for hCaptcha for WordPress.
  4. Once located in the search results, click the Install and then the Activate buttons.

Configuring the plugin

To configure the plugin:

  1. One the left sidebar choose Settings > hCaptcha.
  2. Enter the Sitekey and Secret key you saved from the hCaptcha website (above).
  3. Select Enable hCaptcha on Login Form.
  4. Scroll to the bottom and click the Save button.

Using the hCaptcha for WordPress plugin

If everything is set up correctly, you should now see the hCaptcha challenge similar to that shown below. Clicking the I am human select box triggers the Turing test.

If you are getting a lot of failed login attempts or a lot of traffic on your login page, consider using the hCaptcha plugin. Be sure to warn any administrators of the change as some legitimate users may be surprised and confused by the extra login steps required.

hCaptcha WordPress login
WordPress login showing the hCaptcha challenge.
  • Steve Burge

    Steve is the founder of PublishPress. He's been working with open source software for over 20 years. Originally from the UK, he now lives in Sarasota in the USA. This profile is generated by the PublishPress Authors plugin.

Get the PublishPress plugins

Powerful publishing and permissions plugins for WordPress.

PublishPress Get PublishPress plugins

PublishPress news

  • Introducing PublishPress Hub January 26, 2026
  • How to Schedule a Term Change in WordPress January 8, 2026
  • What’s Going to Happen With WordPress in 2026? December 18, 2025
  • How to Optimize Your Websites for AI Search December 6, 2025
  • The Teaser Feature is Now Available to All PublishPress Permissions Users December 4, 2025

Testimonials

This plugin is a gamechanger. To anyone who’s wanted to grow their site but has been a little uncomfortable handing over the reins completely, PublishPress is exactly what you need. With it, you can easily create a workflow spread across different roles from writers to VAs to editors. It’s already saved me a ton of time as I’ve been able to hire a VA to format posts while limiting their ability to publish. Just fantastic!

canuck212

It’s simple to use and helpful for scheduling posts and getting organized.

marianamcdougall

Recent posts

  • Introducing PublishPress Hub January 26, 2026
  • How to Schedule a Term Change in WordPress January 8, 2026
  • What’s Going to Happen With WordPress in 2026? December 18, 2025
  • How to Optimize Your Websites for AI Search December 6, 2025
  • The Teaser Feature is Now Available to All PublishPress Permissions Users December 4, 2025

Testimonials

We use PublishPress to manage a digital publication with articles posted 3-5 times a week. This is a great tool for managing the calendar and ensuring content quality.

ecamargo

PublishPress delivers useful tools for solo editorial management, specially the calendar and editorial notes.

babaloo

Important Links

  • The PublishPress Podcast
  • Join our Affiliate Program
  • About the PublishPress Team
  • Frequently Asked Questions
  • Terms and Conditions
  • Refund Policy
  • Logo and Brand Materials
  • Famous PublishPress users

Our Projects

  • MetaSlider
  • TaxoPress
  • Logtivity

© 2026 PublishPress

Facebook Group Github Apple Podcasts Spotify YouTube
Scroll to top
  • Plugins
    • Authors
    • Blocks
    • Capabilities
    • Checklists
    • Future
    • Permissions
    • Planner
    • Revisions
    • Series
    • Statuses
  • Docs
  • Support
  • Testimonials
  • Blog
Search