Title: Fstyle Honeypot Bot Blocker
Author: fstylegear09543
Published: <strong>18 Tháng 5, 2026</strong>
Last modified: 9 Tháng 11, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/fstyle-honeypot-bot-blocker/assets/banner-772x250.png?rev=3788869)

![](https://ps.w.org/fstyle-honeypot-bot-blocker/assets/icon-256x256.png?rev=3776259)

# Fstyle Honeypot Bot Blocker

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

[Tải về](https://downloads.wordpress.org/plugin/fstyle-honeypot-bot-blocker.1.5.1.zip)

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

 [Hỗ trợ](https://wordpress.org/support/plugin/fstyle-honeypot-bot-blocker/)

## Mô tả

Protect your website from unauthorized crawlers and malicious bots that ignore your
site’s robots.txt directives. Fstyle Honeypot Bot Blocker provides a lightweight
yet powerful security layer by automatically detecting and blocking intruders.

Once installed, it sets a hidden trap path in your robots.txt. If a bot attempts
to access this forbidden area, its IP address is immediately captured and blocked
from accessing your entire site.

It also treats the paths that scanners probe first (.env, .git, credentials.json,
phpinfo.php, wp-config.php backups, vendor/phpunit, phpMyAdmin) as traps. A normal
WordPress site never serves these files, so the scanner is stopped on its first 
request, before it tries anything else.

It can also protect Contact Form 7 forms with a hidden field and a fill-in timer(
off by default). Nothing is sent to an outside service.

### Features

 * **Instant Honeypot Block**: Automatically adds a trap path to your robots.txt.
 * **Scanner Path Traps**: Blocks bots that probe .env, .git, key files, phpinfo,
   wp-config backups, phpunit and phpMyAdmin (can be turned off).
 * **Your Own Traps**: Add extra trap paths from the settings screen.
 * **Contact Form 7 Protection (off by default)**: A hidden field and a fill-in 
   timer stop bot submissions without reCAPTCHA. Choose Off, Log only or Block.
 * **IP Management Dashboard**: View detailed logs of blocked IP addresses and manage
   them easily.
 * **Smart Whitelist**: Add trusted service IPs to prevent accidental lockouts.
 * **Ultra-Lightweight**: Built for performance with minimal database impact.

## Ảnh màn hình

[⌊The settings screen: whitelist, scanner path traps, extra trap paths and the recent
blocked logs.⌉⌊The settings screen: whitelist, scanner path traps, extra trap paths
and the recent blocked logs.⌉[

The settings screen: whitelist, scanner path traps, extra trap paths and the recent
blocked logs.

## Cài đặt

 1. Upload the `fstyle-honeypot-bot-blocker` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Access settings via the “Fstyle Blocker” menu in your dashboard.

## Hỏi đáp

### Will it block Google or Bing?

No. When a request hits a trap and says it is Googlebot or Bingbot, the plugin checks
it with reverse and forward DNS (IPv4 and IPv6). A verified crawler gets a 404 instead
of being blocked. Logged-in administrators are never blocked either.

### I blocked myself or someone I trust. How do I undo it?

Blocks expire after 7 days (change this with the `fstyle_honeypot_block_days` filter).
To unblock sooner, click “Unblock” in Recent Blocked Logs (only the latest 50 blocks
are listed; older ones expire on their own), or add the address to the whitelist(
one IP address or CIDR range per line). If you cannot reach the login screen, log
in from another network, or rename the plugin folder in wp-content/plugins over 
FTP to turn the plugin off, log in, and unblock the address.

### Does it work behind Cloudflare or another reverse proxy?

The plugin blocks the address in REMOTE_ADDR. Proxy headers such as X-Forwarded-
For are not trusted, because anyone can send them. Behind Cloudflare, a load balancer
or another reverse proxy, make sure your server puts the visitor’s real address 
into REMOTE_ADDR (for example mod_remoteip on Apache or the real_ip module on nginx,
set up for your proxy’s IP ranges), or return it from the `fstyle_honeypot_client_ip`
filter. Otherwise one bot could get the proxy, and every visitor behind it, blocked.
The settings screen shows a warning when the site seems to be behind a proxy.

### What is the trap path?

Each site gets its own random trap path (for example `/private-k3x9q2m7wa/`), shown
on the settings screen and added to robots.txt as Disallow. Well-behaved crawlers
never visit a disallowed path, so a client that requests it is ignoring robots.txt
and is blocked. Because the name differs from site to site, bots cannot learn it
once and skip it everywhere. The name used before 1.5.0, `/super-secret-admin-area/`,
is still a trap. Your own trap paths (Trap Settings) are blocked when requested,
but are not listed in robots.txt.

### I have a robots.txt file on my server.

Then WordPress does not generate robots.txt, and the trap line is not added automatically.
Add the Disallow line shown on the settings screen under `User-agent: *` in your
file. The settings screen reminds you when a robots.txt file exists. Requests to
the trap paths are blocked either way.

### Can another site get my visitors blocked?

In most cases, no. If a page on another site makes a visitor’s browser load a trap
path (with an image, a script or a link), the browser says so in the Sec-Fetch-Site
header, and the plugin answers 404 without blocking. Bots and scanners normally 
do not send this header, so they are still blocked. A trap word in the query string
does not count either.

### Does it see every request?

It checks the requests that reach WordPress. If your server already refuses .env
or .git (for example with a deny rule), or a cache in front of WordPress answers
the request, the plugin does not see it.

### Does it protect Contact Form 7 forms?

Yes, from version 1.4.0, but the Contact Form 7 protection is off by default. Turn
it on in “Fstyle Blocker” > “Contact Form 7 Protection”. It adds a hidden field (
people never see it, bots often fill it in) and records the time from opening the
page to sending the form. A submission that fills in the hidden field, is sent faster
than the shortest time (3 seconds by default), or is sent without JavaScript is 
treated as spam by Contact Form 7, and the visitor sees Contact Form 7’s spam message.

### What is “Log only”?

The messages are still sent, and the plugin only counts the submissions it would
have blocked. Use it for a while to compare with your current spam protection (for
example reCAPTCHA) before switching to “Block”.

### Does it send data to an outside service?

No. The check runs on your server. Only daily counts and the latest detections (
time, form ID and reason, no personal data) are kept in your site’s options.

### I use a page cache. Do I need to do anything?

Clear the page cache after turning the protection on, so that cached pages include
the new fields. Forms on pages cached before that are not judged (they are counted
as “Not judged”). The timer is written by JavaScript in the browser, so cached pages
keep working.

## Đánh giá

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

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

“Fstyle Honeypot Bot Blocker” 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

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

[Dịch “Fstyle Honeypot Bot Blocker” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/fstyle-honeypot-bot-blocker)

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

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

## Nhật ký thay đổi

#### 1.5.1

 * Fix: the check now runs on setup_theme instead of plugins_loaded, so a page cache
   that calls is_search(), is_404() or is_feed() on shutdown no longer logs PHP 
   notices when a bot is blocked. Blocking works as before.

#### 1.5.0

 * New: each site gets its own random trap path in robots.txt, so bots cannot learn
   one name and skip it on every site. The old shared path is still a trap.
 * New: the whitelist accepts CIDR ranges (IPv4 and IPv6) as well as single addresses.
   Ranges wider than /8 (IPv4) or /16 (IPv6) are ignored, so a typo cannot turn 
   the plugin off.
 * Security: a browser that another site makes load a trap (for example with an 
   image or a link planted on another page) is no longer blocked; it gets a 404.
   Browsers mark such requests with the Sec-Fetch-Site header, which bots and scanners
   normally do not send.
 * Fix: an IPv4 address shown in IPv6 form (::ffff:203.0.113.5) now matches the 
   whitelist.

#### 1.4.1

 * Fix: Googlebot and Bingbot on IPv6 are now verified too (the forward DNS check
   reads AAAA records), so they are not blocked by mistake. IPv4 is checked as before.
 * New: the `fstyle_honeypot_client_ip` filter, for sites behind a reverse proxy.
   Proxy headers are still not trusted by default.
 * New: the settings screen warns when the site seems to be behind a proxy, and 
   when a robots.txt file on the server keeps the trap line from being added.
 * Readme: new FAQ (Google and Bing, unblocking, proxies, robots.txt files) and 
   a clearer short description.

#### 1.4.0

 * New: Contact Form 7 protection with a hidden field and a fill-in timer (3 seconds
   by default). Off by default. Modes: Off, Log only, Block.
 * Blocked submissions are treated as spam by Contact Form 7 (spam log), and the
   guard fields are kept out of mail and stored data.
 * Daily counts and the latest detections are shown on the settings screen. Nothing
   is sent outside your site.

#### 1.3.0

 * New: common scanner paths (.env, .git, .aws, credentials.json, service-account.
   json, info.php / phpinfo.php, wp-config.php backups, vendor/phpunit, phpMyAdmin)
   are now traps. On by default, can be turned off in Trap Settings (filter: fstyle_honeypot_scanner_patterns).
 * New: add your own trap paths in Trap Settings.
 * Sites installed in a sub folder match traps relative to the site path.

#### 1.2.0

 * Security: the trap now matches only the URL path (a trap word in the query string
   no longer blocks the visitor).
 * Blocks now expire after 7 days (filter: fstyle_honeypot_block_days).
 * Verified Googlebot / Bingbot (reverse and forward DNS) are never blocked.
 * Logged-in administrators are never blocked on the front end.

#### 1.1.1

 * Refreshed admin interface for better visibility.
 * Added `<code>` tag wrapper for IP addresses.
 * Integrated empty log state handler.
 * Enhanced screenshot for Plugin Directory.

#### 1.1

 * Improved security: added SQL prepare statements and output escaping.
 * Fixed “Short Description missing” warning for WordPress.org compliance.
 * Updated readme metadata for WordPress 6.9 compatibility.

#### 1.0

 * Initial release.

## Meta

 *  Phiên bản **1.5.1**
 *  Cập nhật lần cuối **31 phút trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.4**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/fstyle-honeypot-bot-blocker/)
 * Thẻ
 * [anti-spam](https://vi.wordpress.org/plugins/tags/anti-spam/)[bot blocker](https://vi.wordpress.org/plugins/tags/bot-blocker/)
   [firewall](https://vi.wordpress.org/plugins/tags/firewall/)[honeypot](https://vi.wordpress.org/plugins/tags/honeypot/)
   [security](https://vi.wordpress.org/plugins/tags/security/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/fstyle-honeypot-bot-blocker/advanced/)

## Đánh giá

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

[Your review](https://wordpress.org/support/plugin/fstyle-honeypot-bot-blocker/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/fstyle-honeypot-bot-blocker/reviews/)

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

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

## 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/fstyle-honeypot-bot-blocker/)