Blackhole Pro traps bots that follow a forbidden robots.txt link, with WordPress controls for blocks, exceptions, alerts, responses, and bot logs.

How the bot trap works

Blackhole Pro is a WordPress security plugin that identifies bots that ignore your robots.txt rules. It adds a hidden trigger link to the page footer; bots that follow a link they are told to avoid can be blocked from further access according to the configured hit threshold. Human visitors do not see the link. The active theme must call wp_footer() for the trigger link to appear.

Major search engines and other useful bots are whitelisted by user agent by default. You can customize the whitelist and set rules for bots by user agent or IP address. Blackhole Pro does not use or require .htaccess rules.

Controls for bot handling

Adjust the allowed-hit threshold, disable the plugin for logged-in users, and choose how blocked bots are handled. You can send custom email alerts, display a custom message, redirect blocked bots, set an HTTP status code, or use a custom trigger link. Whitelisted bots can also be redirected when needed.

The Bad Bot Log supports paging, sorting, and field search. Administrators can add bots manually, review blocked-hit counts, and look up geo/IP information for log entries.

Setup requirements

  1. Install and activate Blackhole Pro in WordPress.
  2. Open the settings and review the whitelist, threshold, alert, message, redirect, and logging options.
  3. Add the required rules to an actual robots.txt file. Blackhole Pro does not create the file or add the rules for you.
  4. Customize blocking, allowing, and response behavior for your site.

The active theme needs the wp_footer() template tag for the hidden trigger link to appear. Do not use Blackhole Pro on a site with caching; review the Help tab before enabling the trap.

For bots caught by the trap, the plugin stores IP address, user agent, and other request data in the WordPress database. Administrators can delete saved data in the settings.

All plugins

Related plugins

Academy LMS Pro

Review Academy LMS Pro course, assessment, and integration features, and check the Academy LMS download status before planning…