Title: RMGCaptcha Math Guard &#8211; Math CAPTCHA for Login and WooCommerce
Author: Ridhwan Ahsan
Published: <strong>Mas 12, 2026</strong>
Last modified: Septanm 8, 2026

---

Search plugins

![](https://ps.w.org/rmgcaptcha-math-guard/assets/banner-772x250.png?rev=3512161)

![](https://ps.w.org/rmgcaptcha-math-guard/assets/icon-256x256.png?rev=3481424)

# RMGCaptcha Math Guard – Math CAPTCHA for Login and WooCommerce

 By [Ridhwan Ahsan](https://profiles.wordpress.org/ridhwanahsann/)

[Download](https://downloads.wordpress.org/plugin/rmgcaptcha-math-guard.1.3.1.zip)

 * [Details](https://hat.wordpress.org/plugins/rmgcaptcha-math-guard/#description)
 * [Reviews](https://hat.wordpress.org/plugins/rmgcaptcha-math-guard/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/rmgcaptcha-math-guard/#installation)
 * [Development](https://hat.wordpress.org/plugins/rmgcaptcha-math-guard/#developers)

 [Support](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/)

## Description

RMGCaptcha Math Guard adds a GDPR-friendly, math-based CAPTCHA to protect WordPress
login, WooCommerce, and Contact Form 7 forms from spam, fake registrations, and 
brute-force attacks. No external services, no tracking, and fully WordPress.org 
compliant.

Features:

 * WordPress login protection (captcha on wp-login.php)
 * Contact Form 7 integration via [pmcMathcaptcha] / [pmcMathcaptcha*]
 * WooCommerce login and registration protection
 * Lightweight spam protection without Google reCAPTCHA or third-party tracking
 * Configurable difficulty and operations (Addition/Subtraction/Multiplication/Random)
 * Hide captcha for logged-in users
 * Custom error message support
 * Optional rate limiting and honeypot
 * Failed login log + logged user list (admin pages)
 * Translation-ready

## Installation

 1. Upload the `rmgcaptcha-math-guard` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to Settings > RMGCaptcha Math Guard to configure.

## FAQ

### How do I add it to Contact Form 7?

Use the form tag `[pmcMathcaptcha]` or `[pmcMathcaptcha*]` in your CF7 form.

### Does it work for logged-in users?

You can hide CAPTCHA for logged-in users via the settings page.

### Does it keep logs?

Yes. It provides separate admin pages for Logged User List and Failed Login Log 
with a clear button for each list.

## Reviews

![](https://secure.gravatar.com/avatar/f9e0b8d99ed5ae7927851ec915c6eb5eea469b0927f8e71eee56e03e1fd8ba67?
s=60&d=retro&r=g)

### 󠀁[Simple, Lightweight, and Stopped Spam Immediately!](https://wordpress.org/support/topic/simple-lightweight-and-stopped-spam-immediately/)󠁿

 [mdsayed](https://profiles.wordpress.org/mdsayed/) Dawout 30, 2026

This plugin is an absolute lifesaver for securing both WordPress login pages and
WooCommerce checkout forms against bot spam. Setup took less than two minutes, and
it immediately blocked automated spam attempts without degrading site performance.
Unlike traditional image CAPTCHAs or heavy third-party services that disrupt user
experience and slow down page loads, this math guard provides a smooth, accessible
challenge that actual customers complete effortlessly. Highly recommended for any
WooCommerce site owner looking for a clean, effective security solution!

 [ Read all 1 review ](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/reviews/)

## Contributors & Developers

“RMGCaptcha Math Guard – Math CAPTCHA for Login and WooCommerce” is open source 
software. The following people have contributed to this plugin.

Contributors

 *   [ Ridhwan Ahsan ](https://profiles.wordpress.org/ridhwanahsann/)

[Translate “RMGCaptcha Math Guard – Math CAPTCHA for Login and WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/rmgcaptcha-math-guard)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/rmgcaptcha-math-guard/),
check out the [SVN repository](https://plugins.svn.wordpress.org/rmgcaptcha-math-guard/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/rmgcaptcha-math-guard/)
by [RSS](https://plugins.trac.wordpress.org/log/rmgcaptcha-math-guard/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.1

 * Add Custom Admin Login URL settings with a configurable secret login slug
 * Return 404 for direct wp-login.php and unauthenticated wp-admin access
 * Keep failed-login messages and Math CAPTCHA on the custom login URL
 * Support WordPress installations in a subdirectory

#### 1.3.0

 * Add Email 2FA (Two-Factor Authentication) for WordPress login
 * Add IP Blocker to manually block specific IP addresses from accessing the site
 * Add Country Block to restrict access by country
 * Add Login Alerts with email notifications on successful and failed logins
 * Add Temporary Login feature to generate time-limited, passwordless login links
 * Add rate limiting with configurable max attempts and block duration
 * Improve plugin stability and code quality across all modules

#### 1.2.7

 * Add declare(strict_types=1) across all PHP files for stricter type safety
 * Add typed properties to all classes (PHP 7.4+ feature) for better static analysis
 * Add parameter type hints and return type declarations throughout the codebase
 * Fix extra closing markup bug on Help & Support admin page
 * Add file_exists safety check before loading Kenjo Insights SDK (prevents fatal
   errors if kci folder is missing)
 * Clean up rmgc_version option plus all KCI options and transients during plugin
   uninstall
 * Remove redundant instanceof check in log_login() (type hint guarantees WP_User)
 * Ensure consistent string casting for nonce, answer, and token values before validation

#### 1.2.6

 * Fix admin “Save Settings” button missing styles (add .rmgc-save-btn CSS)
 * Add plugin header with branding and version badge to settings page
 * Fix public captcha CSS not loading on frontend and login page
 * Fix HTML class mismatch between captcha markup and stylesheet
 * Improve user avatar with indigo-purple gradient in log pages
 * Add rate limiting with configurable max attempts and block duration
 * Add honeypot spam protection field
 * Add failed login log and logged user list admin pages
 * Add Help & Support admin submenu page

#### 1.2.5

 * Add Help & Support menu to admin panel
 * Add Support Development section with donation link
 * Improve admin interface with modern design

#### 1.1.4

 * Complete UI redesign with modern gradient color scheme
 * Improve admin settings page with cleaner layout
 * Add modern toggle switches for settings
 * Enhance form inputs and select boxes design
 * Update logs page with better table design
 * Implement full-screen responsive design
 * Remove complex tab system for simpler user experience
 * Fix CSS loading issues by enqueuing stylesheets separately
 * Optimize spacing and padding throughout admin interface

#### 1.1.3

 * Update “Tested up to” and resolve WordPress compatibility warning

#### 1.1.2

 * Fix potential security issues and general code cleanup
 * Enhance compatibility with the latest WordPress version
 * Minor UI/UX improvements in admin settings
 * Improve plugin initialization stability

#### 1.1.1

 * Add automatic version upgrade routine to safely merge settings for existing installs
 * Fix subtraction questions so answers stay user-friendly and validation remains
   consistent
 * Fix multiplication symbol rendering in generated math questions
 * Add a quick Settings link on the Plugins screen

#### 1.0.1

 * Rename plugin to “RMGCaptcha Math Guard”
 * Add rmgc_ prefix across classes, functions, option and transient keys
 * Update text domain to `rmgcaptcha-math-guard`
 * Update admin menu titles and slugs
 * Replace translation template with languages/rmgcaptcha-math-guard.pot
 * Update readme metadata and wording
 * Keep existing nonces/CF7 tags for backward compatibility

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.3.1**
 *  Last updated **3 weeks ago**
 *  Active installations **60+**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/rmgcaptcha-math-guard/)
 * Tags
 * [captcha](https://hat.wordpress.org/plugins/tags/captcha/)[login security](https://hat.wordpress.org/plugins/tags/login-security/)
   [math captcha](https://hat.wordpress.org/plugins/tags/math-captcha/)[spam protection](https://hat.wordpress.org/plugins/tags/spam-protection/)
   [woocommerce](https://hat.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://hat.wordpress.org/plugins/rmgcaptcha-math-guard/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/reviews/)

## Contributors

 *   [ Ridhwan Ahsan ](https://profiles.wordpress.org/ridhwanahsann/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/rmgcaptcha-math-guard/)