---
title: "Bot traps for WordPress"
description: "See which bots probe your WordPress site for /.env, /administrator/ or /phpmyadmin, then ban the persistent ones automatically with WP Feint Pro."
language: "en"
locale: "en-US"
type: "page"
canonical: "https://www.wp-feint.com/features/bot-traps/"
published: "2026-10-27T23:16:53+00:00"
modified: "2026-11-22T12:06:29+00:00"
translations:
  en-US: "https://www.wp-feint.com/features/bot-traps/index.md"
  fr-FR: "https://www.wp-feint.com/fr/fonctionnalites/pieges-a-robots/index.md"
  es-ES: "https://www.wp-feint.com/es/funcionalidades/trampas-para-robots/index.md"
  de-DE: "https://www.wp-feint.com/de/funktionen/bot-fallen/index.md"
  it-IT: "https://www.wp-feint.com/it/funzionalita/trappole-per-bot/index.md"
  pt-BR: "https://www.wp-feint.com/pt/recursos/armadilhas-para-robos/index.md"
  nl-NL: "https://www.wp-feint.com/nl/functies/robotvallen/index.md"
---

# Bot traps for WordPress

A normal visitor never opens /administrator/, /.env, or /phpmyadmin on your site. WP Feint counts these bot requests and, with Pro, bans the ones that keep trying.

## What the traps do

The **Bot traps** module spots requests for URLs that don’t exist on your site but that attack bots go looking for. They fall into three families:

- **Vulnerabilities of the imitated software**: for example `/administrator/` or `?option=com_` for Joomla!, `/user/login` for Drupal;
- **Sensitive file scanners**: `/.env`, `/phpmyadmin`, `.sql` or `.bak` backups;
- **Closed WordPress URLs**: `wp-login.php`, `xmlrpc.php`, `/?author=` (with Pro), once the other modules have hidden them.

These URLs always return “[page not found](https://www.wp-feint.com/glossary/404-error/)”, so the traps have no effect on your visitors. A page that actually exists is never counted, nor is a missing file under your own aliases, and logged-in visitors are never counted either.

## Why it helps

Traps surface activity that usually gets buried in server logs. Combined with [imitation](https://www.wp-feint.com/features/cms-imitation/), they show that bots are hunting for vulnerabilities your site doesn’t have. With Pro, they become a way to automatically shut out the most persistent bots.

## Free or Pro

### In the free version Free

- Bot counts by family
- Stats for the last 7 days, the last 30 days, and all time
- Most targeted URLs
- Counter reset

### With WP Feint Pro Pro

- Automatic banning after N traps (3 recommended: a human never falls into three traps)
- Detailed 30-day log: date, targeted URL, network (truncated IP), tool used
- Fake Joomla! (/administrator/) and Drupal (/user/login) login pages that lead nowhere
- New trap patterns delivered through the [signature feed](https://www.wp-feint.com/features/signature-feed-and-updates/)

![Bot traps tab: counters for 7 days, 30 days and all time, most targeted addresses and automatic banning settings](https://www.wp-feint.com/media/2026/10/admin-pieges.webp)

## Configuring banning (Pro)

| Setting | Values |
| --- | --- |
| Ban after how many traps | 0 = never; 3 recommended |
| Ban duration | 1 to 720 hours |
| IP addresses never banned | one per line; your administrator address is already protected automatically |

A banned bot gets “Forbidden” across the entire site. The **Lift all bans** button clears everything, and **Unblock me** releases your current IP address if you blocked yourself by mistake.

## Personal data

The Pro log keeps, for 30 days at most, the date, the requested URL, the truncated IP address (IPv4 /24, IPv6 /48), and the tool used. Banning relies on a hash (HMAC) of the IP address, never the plain address. On a fake admin page, the log records that a username was entered, without storing what was typed. This data stays on your site: mention it in your privacy policy (legitimate interest: security).

## Limitations and precautions

- Pages already in cache are still served to a banned bot: banning applies to requests that reach WordPress.
- Behind a proxy or [CDN](https://www.wp-feint.com/glossary/cdn/), ask your host to restore visitors’ real IP addresses; otherwise, every visitor shares the proxy’s address.
- Traps observe and shut out bots; they don’t replace a network firewall or protection against distributed attacks.

**Behind Cloudflare**, Pro bans bots’ real IP address, not the address of a Cloudflare server shared with your visitors. See [Cloudflare support](https://www.wp-feint.com/features/cloudflare/).

### Related reading

- [Imitating another CMS](https://www.wp-feint.com/features/cms-imitation/)
- [Login attempt limiting](https://www.wp-feint.com/features/login-attempt-limiting/)
- [Email alerts and weekly report](https://www.wp-feint.com/features/email-alerts/)
- [Signature feed and updates](https://www.wp-feint.com/features/signature-feed-and-updates/)
- [Cloudflare support](https://www.wp-feint.com/features/cloudflare/)
- [WordPress anti-spam: what WP Feint blocks](https://www.wp-feint.com/wordpress-anti-spam/)

## Start free, upgrade to Pro when you’re ready

The free version already hides WordPress, moves the login page, blocks XML-RPC and counts bots. Pro locks down logins, renames file URLs and monitors your sites for you: known vulnerabilities, core integrity, activity log, email alerts and the update status of all your sites in your member area. From €59 per year excl. tax, far less than the cleanup offers whose prices we checked. [Compare the costs](https://www.wp-feint.com/pricing/#cout-piratage).

[See Pro pricing](https://www.wp-feint.com/pricing/)

[Download the free version](https://www.wp-feint.com/download/)
