PageForge 1.3: Überprüfen Sie jeden Durchlauf, bevor er schreibt, aktualisierte Seiten, SpinTax und wiederaufnehmende Batches. Sehen Sie, was sich geändert hat
Blackhole for Bad Bots icon
aktiv gepflegt Getestet mit WP 7.1 #10 in anti-spam

Blackhole für schlechte 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.

Aktive Installationen30K+10K + Stufe
Downloads · 30d25.6K▲ 4.6× vs prev. 30d
Wertung4.7/5148 reviews
Gesundheits-Score94/100Ausgezeichnet
Downloads aller Zeiten1MSince Feb 2016
Unterstützung gelöst3 / 3100% in den letzten 2 Monaten
erfordertWP 4.7PHP 5.6.20+
Downloads · 7d4.1K▼ -78% week over week
Unser Urteil

Sichere Auswahl

Yes — Blackhole for Bad Bots is a safe, well-maintained plugin to use in 2026. It runs on 30K+ sites, is rated 4.7/5 and was last updated 2 weeks ago, and scores 94/100 on our health check.

  • Bewährt auf 30.000 aktiven Standorten
  • Loved by users — 4.7/5 from 148 reviews
  • Aktiv entwickelt — letztes Update vor 2 Wochen
  • Getestet mit dem neuesten WordPress (7.1)
  • Momentum — downloads up 359.3% vs the previous 30 days

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

3.3K6.6K9.9KAug 23Oct 6Nov 20
Gestern355
Täglicher Durchschnitt (1 Jahr)545
Spitzentag15,23910. August 2026
Letzte 12 Monate198.5K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Blackhole for Bad Bots stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
Anti-Spam #26 847 Beste Anti-Spam-Plugins →
blackhole #1 35 Best blackhole plugins →
bots #1 3,800 Best bots plugins →
honeypot #10 1,068 Best honeypot plugins →
Sicherheit >100 10,000 Beste Sicherheits-Plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 3.949.1%
  • 3.830.2%
  • 3.713.0%
  • Andere7.7%

Bewertungsaufschlüsselung

★★★★★★★★★★ 4.7 from 148 reviews

  • 5★90.5%
  • 4★2.0%
  • 3★2.7%
  • 2★0.70%
  • 1★4.1%

About Blackhole for Bad Bots

From the official readme · v3.9

Beschreibung

✨ 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. You then add a line to your robots.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.

I call it the “one-strike” rule: bots have one chance to obey your site’s robots.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
  • Regelmäßig aktualisiert und „zukünftig“
  • 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. They always are allowed full access to your site, even if they disobey your robots.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

Ich entwickle und pflege dieses kostenlose Plugin mit Liebe für die WordPress-Community. Um Unterstützung zu zeigen, können Sie Spenden oder eines meiner Bücher kaufen:

Und / oder eines meiner Premium-Plugins WordPress kaufen:

Links, Tweets und Likes werden ebenfalls geschätzt. Danke! 🙂

Installation

Installing Blackhole for Bad Bots

  1. Upload the Blackhole plugin to your blog and activate
  2. Visit the Blackhole Settings and copy the Robots Rules
  3. Add the Robots Rules to your site’s robots.txt file (see note)*
  4. Configure the Blackhole Settings as desired and done

Note: For the robots.txt rules, there are two scenarios:

  1. Your site has a physical robots.txt file that you can see on the server. In this case, you need to add the required rules manually.
  2. OR, your site is using the dynamic/virtual WP-generated robots.txt file, and there is no physical robots.txt file on your server. In this case, the plugin adds the required rules automatically. You do not need to add anything manually.

For complete documentation, click the “Help” tab in the upper-right corner of the Blackhole settings screen. Help tab also available on the “Bad Bots” screen.

Weitere Informationen zur Installation von WP-Plugins

Verify Blackhole is working properly

Caching Plugins

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

No robots.txt?

For the robots.txt file, there are two possible scenarios:

  1. You want to use your own physical robots.txt file that you can view and edit on the server. In this case, follow the steps below to create your site’s robots.txt file.
  2. OR, you want to use the dynamic/virtual WP-generated robots.txt file, such that there is no physical robots.txt file on your server. In this case, you don’t need to do anything, because WordPress automatically generates a robots.txt file when requested.

If you go with option #1, here are the steps to create a robots.txt file for your site:

  1. Add a blank plain-text file to the root directory of your site
  2. Name the text file robots.txt and upload to your server

Done. Now you can add the Blackhole rules provided on the plugin settings page. See the next section to learn more and validate your robots.txt file.

To view your robots.txt file, visit the following URL (replace example.com with your domain):

https://example.com/robots.txt

Tip: you can find a link to your site’s robots.txt file on the plugin settings page.

Robots Tools & Info

Here are some collected resources for working with robots.txt. See also the next section, “Testing Robots.txt” for more tools.

Lots more great resources on the web to learn about and validate your robots.txt file. Read up, it’s important for SEO.

Testing Robots.txt

To test that your site’s robots.txt rules are correct, you can use a free robots.txt checker. Google provides a robots checker inside of your Google account (i.e., must be logged in to Google). There are many other robots validators around online. Here are some examples:

Tons more robots tools available online, just search for something like “validate robots.txt” (without the quotes) to discover more.

Testing Blackhole

To test that the Blackhole trap is working, first remove your IP address(es) from the plugin setting, “Whitelist IPs”. Also make sure your browser is not included in the plugin setting, “Whitelist Bots” (for example, Chrome is whitelisted). OR instead of changing any plugin settings, you can use a proxy service and non-whitelisted browser (e.g., Brave or Opera) to perform the test.

After removing your IP address and user agent (or using a proxy service), view the source code of any web page on your site. Scroll down near the footer of the page until you locate a link that looks similar to the following:

<a rel="nofollow" style="display:none" href="https://example.com/?blackhole=1234567890" title="Do NOT follow this link or you will be banned from the site!">Name of Your Website</a>

Click the link (the href value) to view the Warning Message. After visiting the Warning Message, refresh the page to view the Access Denied message. And/or visit any other page on the front-end of your site to verify that you have been banned. But don’t worry, you will never be banned from the WP Admin Area or the WP Login Page. So simply log in and remove your IP address from the Bad Bots list to restore front-end access.

More information on how to verify Blackhole is working »

Why no bots?

If you’re not seeing any bad bots getting blocked, there are several things to keep in mind:

  • Make sure you’ve set up according to the docs above
  • New(er) websites may not get a lot of bad bot traffic
  • Sites with low traffic may not get a lot of bad bots
  • Check if you are using any other bot-blocking plugins
  • Not all websites (even popular ones) get tons of bots
  • Blackhole will not work if you have any caching on site
  • If in doubt, you can test if the plugin is working (see previous section above)

So keep those things in mind. In most cases it’s just a matter of time before some bad bots fall into the black hole.

Also note that the plugin provides two “whitelist” settings:

  • Whitelist Bots
  • Whitelist IPs

By default, certain things are automatically whitelisted when the plugin is activated. For example, your IP address is added to the whitelist IP setting. Also Chrome and other user agents are added to the whitelist user-agents setting. Just to keep in mind when testing plugin functionality.

Whitelisted Bots

Blackhole for Bad Bots is rigorously tested to ensure that the top search engine bots are NEVER BLOCKED. Any bots reporting a User Agent that contains any of the following strings will always have access to your site, even if they disobey robots.txt.

adsbot-google, ahrefsbot, apis-google, baidu, bingbot, bingpreview, cloudflare, duckduckgo, embedly, facebookexternalhit, facebot, google page speed, googlebot, ia_archiver, linkedinbot, mediapartners-google, msnbot, pinterest, rogerbot, slackbot, slurp, teoma, twitterbot, uptimerobot, urlresolver, w3c_validator, wordpress, wp rocket, yandex

Of course, this list is completely customizable via the plugin settings. Each added string is matched against the full user agent, so be careful. Learn more about user agents of the top search engines.

You can also whitelist bots by IP address. Visit the setting, “Whitelist IPs”, and enter the IP address (separate multiple IPs with commas). You can also whitelist entire ranges of IPs. In the same plugin setting, add something like this:

123.456.

That will allow all bots reporting any IP that begins with 123.456.. You can also whitelist IP addresses using CIDR notation. Check out the Help tab on the plugin settings page for details.

Customizing

Blackhole provides plenty of hooks for customizing and extending:

blackhole_options
blackhole_badbots
blackhole_get_options
blackhole_get_badbots
blackhole_log_data
blackhole_trigger
blackhole_vars
blackhole_log
blackhole_ip_keys
blackhole_alert_name
blackhole_alert_subject
blackhole_alert_message
blackhole_alert_headers
blackhole_needle
blackhole_message_default
blackhole_message_custom
blackhole_message_nothing
blackhole_ignore_loggedin
blackhole_ignore_backend
blackhole_ignore_login
blackhole_block_status
blackhole_block_protocol
blackhole_block_connection
blackhole_ip_filter
blackhole_validate_ip_log
blackhole_settings_contextual_help
blackhole_badbots_contextual_help

If you need a hook added, drop me a line, will be glad to hook it up 😉

Custom Warning Template

The Blackhole displays two types of messages:

  • Warning Message – Displayed when bots follow the blackhole trigger
  • Blocked Message – Displayed for all requests made by blocked bots

The Blocked Message may be customized via the plugin settings. The Warning Message may be customized by setting up a custom template:

  1. Copy blackhole-template.php from the plugin’s /inc/ directory
  2. Paste the file into your theme template, for example: /wp-content/my-awesome-theme/blackhole-template.php
  3. Customize any of the markup between “BEGIN TEMPLATE” and “END TEMPLATE”
  4. Upload to your server and done

If the custom template exists in your theme directory, the plugin automatically will use it to display the Warning Message. If the custom template does not exist in your theme directory, the plugin will fallback to the default warning message.

Tip: Instead of including the custom template in your theme, you can include via /wp-content/ directory, like: /wp-content/blackhole/blackhole-template.php

More options available in the Pro version »

Deinstallieren

This plugin cleans up after itself. All plugin settings and collected data will be removed from the WordPress database when the plugin is deleted via the WP Plugins screen. After uninstalling, don’t forget to remove the blackhole rules from your robots.txt file. It’s fine to leave them in place, it will not hurt anything, but they serve no purpose without the plugin installed.

More specifically, Blackhole adds only two things to the database: options and bot list. When the plugin is uninstalled/deleted via the Plugins screen, both of those items are removed automatically via the following lines in uninstall.php:

delete_option('bbb_options');
delete_option('bbb_badbots');

So after uninstalling the plugin and deleting the robots.txt rules, there will be no trace of Blackhole for Bad Bots on your site.

Wie das Plugin?

If you like Blackhole for Bad Bots, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

Änderungsprotokoll

Besuchen Sie den Bildschirm WordPress Plugins, suchen Sie das Plugin und klicken Sie auf "Aktualisieren" :)

If you like Blackhole for Bad Bots, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

👾 Get Blackhole Pro to unlock powerful features like threshold, bot blacklist, custom triggers, and advanced Bad Bot Log.

3.9 (2026/11/06)

  • Überprüft Plugin mit Plugin-Check
  • Verbessert die Sicherheit von Kernfunktionen
  • Verbessert die Sicherheit der Plugin-Einstellungen
  • Verbessert die Sicherheit von internen Weiterleitungen
  • Move admin notice to settings
  • Updates plugin settings page
  • Improves plugin documentation
  • Tests zu WordPress 7.2

Full changelog @ https://plugin-planet.com/wp/changelog/blackhole-bad-bots.txt

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Blackhole Settings Screen (showing default options)
Blackhole Settings Screen (showing default options)
Blackhole Bad Bots Screen (showing some example bots)
Blackhole Bad Bots Screen (showing some example bots)

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Blackhole for Bad Bots alternatives

Alle Anti-Spam-Plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Akismet Anti-Spam: Spam-Schutz Akismet Anti-Spam: Spam-Schutz Der beste Anti-Spam-Schutz zum Blockieren von Spam-Kommentaren und Spam in einem Kontaktformular. Die meisten… von Automattic 5M+ ★★★★★★★★★★ 4.7 (1.2K) Vor 3 Monaten 73
2 Antispambiene Antispambiene Ausgeklügeltes Antispam-Plugin für effektive tägliche Kommentare und Trackback-Spam-Kämpfe… von pluginkollektiv 700K+ ★★★★★★★★★★ 4.8 (227) Vor 3 Monaten 78
3 WP-Rüstung - Honeypot Anti-Spam WP-Rüstung - Honeypot Anti-Spam Am schnellsten wachsendes Anti-Spam-Plugin. Nein API Anrufe, Abonnements, Captcha oder Puzzle. Volle DSGVO… von Dinesh Karki 400K+ ★★★★★★★★★★ 5 (1.5K) Vor 3 tagen 84
4 CF7-Apps – Addons für Kontaktformular 7 (Honeypot, Datenbank, Umleitung, Webhook usw.) CF7-Apps Fügen Sie HCAPTCHA, Honeypot, Umleitung und AI-gestützte Formulargenerierung zu Kontaktformular 7 hinzu. Von Saad Iqbal 300K+ ★★★★★★★★★★ 3.8 (135) Vor 3 Wochen 91
5 Anti-Spam, Spam-Firewall von CleanTalk Anti-Spam, Spam-Firewall von CleanTalk Erweiterter Antispam für Kommentare, Anmeldungen und Kontaktformulare. Kein Captcha, plus E-Mail… Von CleanTalk Inc 200K+ ★★★★★★★★★★ 4.8 (3.2K) Vor 5 Tagen 94
6 Cloudsecure WP-Sicherheit Cloudsecure WP-Sicherheit Cloudsecure wp. Sicherheit は、 理画面とログインurlをサイバー攻攻撃か. ら守る、国産・日本語応のセキ. ュリティ対策プラグインで。… von XServer 200K+ ★★★★★★★★★★ 5 (2) Vor 1 Woche 79
7 Schwerkraft bildet Null-Spam Schwerkraft bildet Null-Spam Blockieren Sie Formular-Spam in Gravity-Formularen mit einem unsichtbaren Token-Check, E-Mail-Ablehnungsregeln und… von GravityKit 100K+ ★★★★★★★★★★ 4.3 (24) Vor 3 Monaten 69
8 Email Encoder – Protect Email Addresses and Phone Numbers Email Encoder – Protect Email Addresses and Phone Numbers Schützen Sie E-Mail-Adressen und Telefonnummern auf Ihrer Website und verstecken Sie sie vor Spambots. Einfach zu… durch Online-Optimierung 90K+ ★★★★★★★★★★ 4.9 (94) Vor 2 Monaten 72
9 Spamschutz | Maspik Spamschutz | Maspik Blockiert Spam, sobald Sie ihn aktivieren. Kein Captcha, kein Setup, keine API-Taste. Mehrschicht. nur… von yonifre 30K+ ★★★★★★★★★★ 4.7 (87) Vor 2 Tagen 89
11 Stop Spammer Classic Stop Spammer Classic Eine vereinfachte, wiederhergestellte und erhaltene Version des ursprünglichen Stop Spammers-Plugins. von Web Guy 20K+ ★★★★★★★★★★ 4.4 (243) Vor 2 Wochen 91

Fragen und Antworten

Blackhole for Bad Bots: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Blackhole for Bad Bots free?

Yes. Blackhole for Bad Bots is free to download and use from the official WordPress.org plugin directory.

Is Blackhole for Bad Bots safe to use in 2026?

Yes — Blackhole for Bad Bots is a safe, well-maintained plugin to use in 2026. It runs on 30K+ sites, is rated 4.7/5 and was last updated 2 weeks ago, and scores 94/100 on our health check.

How many websites use Blackhole for Bad Bots?

Blackhole for Bad Bots is active on 30K+ WordPress websites and has been downloaded 1,014,486 times since it launched in February 2016. It was downloaded 25,617 times in the last 30 days.

Does Blackhole for Bad Bots work with WordPress 7.1?

Yes. The developer has tested Blackhole for Bad Bots up to WordPress 7.2, the latest release. It requires WordPress 4.7 or newer.

What PHP version does Blackhole for Bad Bots need?

Blackhole for Bad Bots requires PHP 5.6.20 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Blackhole for Bad Bots last updated?

The latest version, 3.9, was released on November 6, 2026 (2 weeks ago).

Who makes Blackhole for Bad Bots?

Blackhole for Bad Bots is developed and maintained by Jeff Starr.

What are the best alternatives to Blackhole for Bad Bots?

The most popular alternatives to Blackhole for Bad Bots are Akismet Anti-spam: Spam Pro… (5M+ installs), Antispam Bee (700K+ installs) and WP Armour (400K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen