Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/lw-it-solutions/wp-admin-captcha/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A simple and lightweight plugin that adds Google reCAPTCHA v2 to the WordPress login screen to protect against brute-force attacks and bots.
Description
WP Admin Captcha is a straightforward security plugin designed to protect your WordPress login page (wp-login.php). It integrates Google reCAPTCHA v2 (the "I'm not a robot" checkbox) directly into the login form.
By verifying the captcha response with Google's servers before authenticating the user, it effectively blocks automated bots and brute-force login attempts without adding unnecessary bloat to your website.
Key Features:
- Lightweight code with minimal impact on site performance.
- Simple settings page to input Site Key and Secret Key.
- Safely skips verification if keys are not configured (prevents locking yourself out).
- Uses native WordPress HTTP API for secure external requests.
Installation
- Upload the
wp-admin-captchafolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Go to Settings > WP Admin Captcha.
- Log in to the Google reCAPTCHA Admin Console.
- Create a new reCAPTCHA v2 (Checkbox) property for your domain.
- Copy the Site Key and Secret Key and paste them into the plugin's settings page.
- Save changes.
- Log out and visit your login page to see the captcha in action.
Frequently Asked Questions
Does it support reCAPTCHA v3?
- No, this plugin is specifically designed for reCAPTCHA v2 (the interactive checkbox).
What happens if I input the wrong keys?
- If you input the wrong keys, the captcha will fail to load or verify. If you get locked out of your site, simply connect to your server via FTP, navigate to
/wp-content/plugins/, and rename or delete thewp-admin-captchafolder to deactivate the plugin and regain access.
Changelog
1.0.0
- Initial release. Added settings page, login form integration, and authentication filter.