WordPress plugin intelligence profile

Blackhole for Bad Bots

Blackhole is a WordPress security plugin that detects and traps bad bots in a virtual black hole, where they are denied access to your entire site.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version3.8.4
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 4.7 · PHP 5.6.20
Directory statusactive
Last directory update21 Aug 20262mo ago
Active installations30K+Adoption metric — not a quality score
WordPress.org rating4.7 / 5 from 148 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Blackhole for Bad Bots version 3.8.4 as active, updated 2mo ago and tested up to WordPress 7.1.

Overview

About this plugin

>

✨ Trap bad bots in a virtual black hole

Important: Do NOT use this plugin on sites with caching. Learn more »

👾 Bye bye bad bots..

Bad bots are the worst. They do all sorts of nasty stuff and waste server resources. The Blackhole plugin helps to stop bad bots and save precious resources for legit visitors.

👾 How does it work?

First the plugin adds a hidden trigger link to the footer of your pages. txt file that forbids all bots from following the hidden link. Bots that then ignore or disobey your robots rules will crawl the link and fall into the trap.

Once trapped, bad bots are denied further access to your WordPress site.

txt rule. Failure to comply results in immediate banishment. The best part is that the Blackhole only affects bad bots: human users never see the hidden link, and good bots obey the robots rules in the first place.

Win-win! 🙂

>

✨ Add a blackhole trap to help stop bad bots

Important: Do NOT use this plugin on sites with caching. Learn more »

👾 Features

  • Easy to set up
  • Squeaky clean code
  • Focused and modular
  • Lightweight, fast and flexible
  • Built with the WordPress API
  • Works with other security plugins
  • Easy to reset the list of bad bots
  • Easy to delete any bot from the list
  • Regularly updated and “future proof”
  • Blackhole link includes “nofollow” attribute
  • Plugin options configurable via settings screen
  • Works silently behind the scenes to protect your site
  • Whitelists all major search engines to never block
  • Focused on flexibility, performance, and security
  • Email alerts with WHOIS lookup for blocked bots
  • Complete inline documentation via the Help tab
  • Provides setting to whitelist any IP addresses
  • Customize the message displayed to bad bots 😉
  • One-click restore the plugin default options
  • Does NOT use or require any.htaccess rules

Blackhole for Bad Bots protects your site against bad bots, spammers, scrapers, scanners, and other automated threats.

>

✨ Not using WordPress? Check out the standalone PHP version of Blackhole!

👾 Whitelist

By default, this plugin does NOT block any of the major search engines (user agents):

  • AOL.com
  • Baidu
  • Bingbot/MSN
  • DuckDuckGo
  • Googlebot
  • Teoma
  • Yahoo!
  • Yandex

These search engines (and all of their myriad variations) are whitelisted via user agent. So are a bunch of other “useful” bots. txt rules.

This list can be customized in the plugin settings. For a complete list of whitelisted bots, visit the Help tab in the plugin settings (under “Whitelist Settings”).

>

✨ Check out Blackhole Pro and level up with advanced features!

👾 Exclusive Pro Features

  • Option to disable for logged-in users
  • Threshold control (number of allowed hits)
  • Custom email alerts
  • Custom messages for blocked bots
  • Custom redirect for blocked bots
  • Custom blackhole trigger links
  • Complete inline documentation
  • Block bots based on user agent
  • Block bots based on IP address
  • Whitelist/allow bots by user agent
  • Whitelist/allow bots by IP address
  • Redirect whitelisted bots
  • Set custom HTTP Status Code
  • Full-featured Bad Bot Log with paging, sorting, and field search
  • Manually add bad bots to the Bad Bot Log
  • Geo/IP location lookups for each bad bot
  • Logs number of blocked hits for each bot

plus everything the free version can do and more.

>

✨ Learn more and get Blackhole Pro »

👾 Privacy

User Data: This plugin automatically blocks bad bots. When bad bots fall into the trap, their IP address, user agent, and other request data are stored in the WP database. No other user data is collected by this plugin.

At any time, the administrator may delete all saved data via the plugin settings.

Services: This plugin does not connect to any third-party locations or services.

Cookies: This plugin does not set any cookies.

Credit: Header Image Courtesy NASA/JPL-Caltech.

Blackhole for Bad Bots is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.

👾 Support development

I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:

  • The Tao of WordPress
  • Digging into WordPress

htaccess made easy

  • WordPress Themes In Depth
  • Wizard’s SQL Recipes for WordPress

And/or purchase one of my premium WordPress plugins:

  • BBQ Pro – Blazing fast WordPress firewall
  • Blackhole Pro – Automatically block bad bots
  • Banhammer Pro – Monitor traffic and ban the bad guys
  • GA Google Analytics Pro – Connect WordPress to Google Analytics
  • Head Meta Pro – Ultimate Meta Tags for WordPress
  • REST Pro Tools – Awesome tools for managing the WP REST API
  • Simple Ajax Chat Pro – Unlimited chat rooms
  • USP Pro – Unlimited front-end forms

Links, tweets and likes also appreciated. Thank you! 🙂

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • anti spam
  • blackhole
  • bots
  • honeypot
  • security
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 4.7 · PHP 5.6.20
Update activity21 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.