Scraper Trap’s™ honeypot uses a unique action name in the trap URL so bots can’t rely on a single, well-known pattern. By default the plugin generates one randomly for your site; you can also set a custom name or regenerate a new random one anytime. This article explains where to manage it, the difference between auto-generated and custom, and what happens to robots.txt and caches so you can answer “how do I change the honeypot action name?” without opening a ticket.
Where to Find It
Go to WhoKnew Shield → Scraper Trap™. In the area where robots.txt and honeypot options are configured, look for the button Advanced: Manage Honeypot Action Name. Click it to open the collapsible section. Inside you’ll see the Current Action Name (the value used in the trap URL), a badge showing whether it’s AUTO-GENERATED or CUSTOM, and the number of possible combinations the plugin can generate (shown as “Current combinations possible: …+”). Below that are the actions: Generate New Random Name, Set Custom Name, and—if you’re using a custom name—Revert to Auto. This section is Pro-only and is intended for advanced use when you want to rotate or customize the honeypot identifier.
Auto-Generated vs Custom
Auto-generated: When you first enable Scraper Trap™ (or after you clear a custom name), the plugin creates a random action name that is unique to your site and looks like a generic WordPress-style identifier. That makes it hard for bots to blacklist a single pattern across many sites. The combination space is very large (the UI shows “…+”), so each site typically gets a different name. You don’t have to do anything—it’s stored and used until you change it.
Custom: If you prefer a fixed name you choose (e.g. for your own documentation or integration), click Set Custom Name. You’ll be asked to enter a name. Rules: letters, numbers, and underscores only; at least 3 characters; 100 characters or less. The plugin will reject anything else (e.g. spaces or special characters). Keep the name generic—avoid “whoknewshield” or other obvious patterns so bots don’t easily recognize it. Once set, the badge shows CUSTOM and the current value is displayed. To go back to a random name, click Revert to Auto; the plugin will use the last auto-generated name (or generate a new one if needed).
Regenerating the Random Name
Click Generate New Random Name when you want a fresh random action name (e.g. for security rotation). The plugin first clears any custom name, then generates and saves a new random one. You’ll see a confirmation before it runs. After it completes, the page reloads and the new name is shown. Regenerating is useful if you think the current name may have been exposed or you simply want to rotate it periodically. You don’t have to edit any code—the trap URL and all internal references use the active action name automatically.
robots.txt and Caches
Whenever you change the action name—whether you set a custom name, regenerate a random one, or revert to auto—the plugin automatically updates robots.txt with the new Disallow line for the trap URL and clears relevant caches so the new name takes effect. The success message after each action confirms this. If for some reason the auto-update fails (e.g. file permissions), the message will tell you to use Auto-Fix Robots.txt or Verify Robots.txt Entry in the same tab. So in normal use you don’t need to edit robots.txt or clear caches by hand after changing the action name. If you don’t see the updated line when viewing robots.txt in a browser, do a hard refresh or check the file directly; see robots.txt and Scraper Trap (Pro) for more.
Quick win: Most sites can leave the action name on auto-generated and never touch it. Use custom only if you need a fixed identifier for your own records, and use Generate New Random Name occasionally if you want to rotate it for peace of mind. Either way, robots.txt stays in sync automatically.
Need Help?
For how the trap URL and robots.txt work together: robots.txt and Scraper Trap (Pro). For enabling the honeypot and first-time setup: Getting Started with Scraper Trap. For testing the block page: use the Test Honeypot Block Page URL in the same Scraper Trap tab (it uses the current action name).