Honeypot usernames
Bots that guess passwords nearly always try the same few usernames first, like “admin” and “root”. A real person on your site almost never uses them. Shield turns that habit into a trap. If someone tries to sign in with one of these names, the IP is locked out immediately. It doesn’t wait for repeated failures.
How it works
- A visitor tries to sign in with a username on the honeypot list.
- Shield locks that IP for the honeypot lockout time (24 hours by default).
- On the standard login form and the WooCommerce login, the username itself is not locked: every other IP that tries it gets its own honeypot lockout.
- The attempt is recorded in the event log as a honeypot event, with the IP and the name that was tried.
The visitor sees a short, generic message: “Too many failed login attempts. Please try again later.” They aren’t told they’ve hit a trap. On later visits from the same IP they see your normal lockout message with the time left.

Important: don’t use a honeypot name for a real account
If one of your real accounts uses a name on the list, for example a user called “admin”, the owner must sign in with their email address. Signing in with the username locks their IP out like a bot. The Lockout tab lists the real accounts on your list and warns you if yours is one of them. Email addresses of real accounts are never treated as honeypots. If you lock yourself out, add define( 'NAHNLS_DISABLE_HONEYPOT', true ); to wp-config.php to switch the list off. Renaming your admin account is a good security step anyway.
The default list
On a fresh install, these usernames are on the list:
admin, administrator, root, test, webmaster, wp-admin, support
and these email patterns:
info@*, admin@*, administrator@*
The settings
All of the settings are on the Lockout tab, in the Honeypot usernames section.
- Enable honeypot. The switch for instant lockout of known-bad usernames.
- Lockout duration. How long the IP and the username stay locked, in hours. You can set 1 to 720. The default is 24.
- Honeypot list. The usernames to trap, one per line. Matching ignores upper and lower case.
Click Save lockout settings when you’re done.
Using wildcards for email addresses
Some bots try email addresses as usernames. End an entry with @* to match every address that starts with that name. For example, admin@* matches admin@example.com and admin@anything.com. The wildcard works only at the end of an address, and only in this form.
Adding your own names
Add names that attackers would try on your site, but real users won’t. Good candidates are names related to your site or business, for example webmaster or postmaster. Don’t add names that real people might use, such as common first names.
Unlocking an IP or a username
A honeypot lockout shows on the Lockout tab under Active IP lockouts (with the reason “honeypot”). If the username was locked too, it is under Locked usernames. Click Unlock to lift either one right away. If you locked yourself by accident, see “I locked myself out”.
Honeypot and your whitelist
IPs on your whitelist are never locked out, so you can test the honeypot from a whitelisted IP without being affected. To see it work, test from an IP that isn’t on the whitelist, such as your phone on mobile data.
Other things a honeypot hit can do
You can choose to receive an email alert for each honeypot hit. If you use Edge Blocking, a honeypot hit can also push the IP to Bunny.net or Cloudflare, so the attacker is stopped before reaching your server. See “Block at the edge with Bunny.net” and “Block at the edge with Cloudflare”.
Was this helpful?
Thanks for your feedback!
✓ Feedback received. Thank you!