Title: Mathlock Guard
Author: ishanishr
Published: <strong>15 Tháng 9, 2026</strong>
Last modified: 19 Tháng 10, 2026

---

Tìm kiếm plugin

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

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

# Mathlock Guard

 Bởi [ishanishr](https://profiles.wordpress.org/ishanishr/)

[Tải về](https://downloads.wordpress.org/plugin/mathlock-guard.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/mathlock-guard/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/mathlock-guard/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/mathlock-guard/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/mathlock-guard/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/mathlock-guard/)

## Mô tả

Mathlock Guard protects your site’s public-facing content behind a lightweight math
verification challenge. Visitors must correctly answer a simple arithmetic question
before accessing your pages, providing an accessible, low-friction alternative to
traditional CAPTCHA systems. Site administrators and the login page remain fully
accessible at all times, ensuring uninterrupted site management, while all other
visitors, including logged-in users such as editors, authors, and subscribers, are
required to pass the verification screen.

### Demo

Try Mathlock Guard on the author’s website: https://ishanishrestha.com.np

Features include:

 * Random math challenges
 * Administrator bypass
 * Admin dashboard and login page exclusions
 * Nonce verification for form submissions
 * Server-side challenge storage
 * Temporary unlock functionality
 * Separate CSS and template files

## Ảnh màn hình

[[

## Cài đặt

 1. Upload the `mathlock-guard` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the WordPress Plugins menu.
 3. Visit the website to test the math lock.

## Hỏi đáp

### How long does the website remain unlocked?

The website remains unlocked for 1 minute after the correct answer is submitted.

### Does the lock affect administrators?

No. Users with the `manage_options` capability can bypass the math lock.

### Does the lock affect the WordPress dashboard?

No. The WordPress admin area and login page are excluded from the lock.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Mathlock Guard” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ ishanishr ](https://profiles.wordpress.org/ishanishr/)

“Mathlock Guard” đã được dịch qua 4 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/mathlock-guard/contributors)
vì đóng góp của họ.

[Dịch “Mathlock Guard” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/mathlock-guard)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/mathlock-guard/), check 
out [SVN repository](https://plugins.svn.wordpress.org/mathlock-guard/), hoặc theo
dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/mathlock-guard/)
qua [RSS](https://plugins.trac.wordpress.org/log/mathlock-guard/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### Version 1.9

 * Required PHP reduced to 7.4.

#### Version 1.8

 * Added translation support with a text domain for localization.
 * Improved compatibility with WordPress localization tools.

#### Version 1.7

 * Changed the unlock duration to 1 minute.
 * Updated the unlock cookie configuration.

#### Version 1.6

 * Added support for a separate CSS stylesheet.
 * Moved the lock page HTML into a separate template file.

#### Version 1.5

 * Added a signed cookie to remember successfully unlocked visitors.
 * Added automatic redirection after a correct answer.

#### Version 1.4

 * Added server-side math answer storage using WordPress transients.
 * Added unique challenge IDs for each math question.
 * Removed reliance on hidden form fields for answer validation.

#### Version 1.3

 * Added nonce protection and verification for form submissions.
 * Added input sanitization for submitted form data.

#### Version 1.2

 * Added an administrator bypass using the `manage_options` capability.
 * Excluded the admin dashboard and login page from the mathlock.

#### Version 1.1

 * Improved form handling and answer validation.
 * Added incorrect-answer error messages.

#### Version 1.0

 * Initial release.
 * Added a random math challenge to restrict website access.
 * Added custom lock page functionality.
 * Added direct-access protection.

## Meta

 *  Phiên bản **2.0**
 *  Cập nhật lần cuối **1 tuần trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 6.2 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.3**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [Dutch](https://nl.wordpress.org/plugins/mathlock-guard/), [English (UK)](https://en-gb.wordpress.org/plugins/mathlock-guard/),
   [English (US)](https://wordpress.org/plugins/mathlock-guard/), [Hungarian](https://hu.wordpress.org/plugins/mathlock-guard/),
   và [Spanish (Spain)](https://es.wordpress.org/plugins/mathlock-guard/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/mathlock-guard)
 * Thẻ
 * [access-control](https://vi.wordpress.org/plugins/tags/access-control/)[bot protection](https://vi.wordpress.org/plugins/tags/bot-protection/)
   [captcha](https://vi.wordpress.org/plugins/tags/captcha/)[math captcha](https://vi.wordpress.org/plugins/tags/math-captcha/)
   [spam prevention](https://vi.wordpress.org/plugins/tags/spam-prevention/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/mathlock-guard/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/mathlock-guard/reviews/)

## Những người đóng góp

 *   [ ishanishr ](https://profiles.wordpress.org/ishanishr/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/mathlock-guard/)