About Blackhole
Trap bad bots, crawlers and spiders in a virtual black hole.
Category 1 | Logs/Monitoring Modules that maintain activity logs or monitor and report activity in some form or another. |
---|---|
Category 2 | Other Modules Modules that have a unique purpose not covered by existing categories. |
Category 3 | Users and Access Modules dealing with access in ProcessWire via Users, Roles or Permissions. |
Release State | Stable Should be safe for use in production environments. * |
Author | |
Module Version | 1.0.2 |
Class Name | Blackhole |
Compatibility | 3.0 |
Date Added | March 20, 2018 |
Recommended By | New recommendations may take up to 1 day to appear. |
Instructions
This module's files should be placed in /site/modules/Blackhole/
How to install or uninstall modules
README
Presentation
Originaly developped by Jeff Starr, Blackhole is a security plugin which trap bad bots, crawlers and spiders in a virtual black hole.
Once the bots (or any virtual user!) visit the black hole page, they are blocked and denied access for your entire site.
This helps to keep nonsense spammers, scrapers, scanners, and other malicious hacking tools away from your site, so you can save precious server resources and bandwith for your good visitors.
How It Works
You add a rule to your robots.txt that instructs bots to stay away. Good bots will obey the rule, but bad bots will ignore it and follow the link... right into the black hole trap. Once trapped, bad bots are blocked and denied access to your entire site.
The main benefits of Blackhole include:
Stops leeches, scanners, and spammers
Saves server resources for humans and good bots
Improves traffic quality and overall site security
Bots have one chance to obey your site’s robots.txt rules. Failure to comply results in immediate banishment.
Features
Disable Blackhole for logged in users
Optionally redirect all logged-in users
Send alert email message
Customize email message
Choose a custom warning message for bad bots
Show a WHOIS Lookup informations
Choose a custom blocked message for bad bots
Choose a custom HTTP Status Code for blocked bots
Choose which bots are whitelisted or not
Instructions
- Install the module
- Create a new page and assign to this page the template "blackhole"
- Create a new template file "blackhole.php" and call the module
$modules->get('Blackhole')->blackhole();
- Add the rule to your robot.txt
- Call the module from your
home.php
template$modules->get('Blackhole')->blackhole();
Bye bye bad bots!
Downloads
Enjoy
Comments
No comments yet. Be the first to post!
Post a Comment
Your e-mail is kept confidential and not included with your comment. Website is optional.
- Admin Helpers
- Authentication
- Core Modules
- Development Tools
- Email/WireMail
- Field Types
- Import/Export
- Input Fields
- Language Modules
- Language Packs
- Logs/Monitoring
- Markup Generation
- Photo/Video/Audio
- Premium Modules
- Process Modules
- Proof of Concept
- SEO/Accessibility
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
Disclaimer
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.