Aucune image disponible

blackholebots

Free module for prestashop and thirtybees platforms that will automagically ban bots that don't follow robots.txt instructions

Developed by getdatakick

Get This Module Free on GitHub
License: Inconnu Status: Unknown Health: Very Outdated

Info updated 1 month ago

Sources
Stars: 7 Forks: 6 Last commit: May 5, 2020
Type
Module

Info checked: Mar 2, 2026

Blackhole for Bad Bots

!cover

This is very simple free module for prestashop and thirtybees platforms. It is based on a very simple idea:

1. you instruct all robots visiting your website NOT to open specific url 2. this module will add hidden link from all pages on your website to this forbidden page. This link is perfectly visible to all robots, but normal visitors will not notice it at all (without looking into web page source code) 3. when anyone access this forbidden page, his IP address will be immediately added to blacklist 4. blacklisted visitor are forbidden from viewing content from your website 5. shop administrator is notified about new entries to blacklist. They will receive email with WHOIS information about the visitor - his IP address, location, network, etc.

And that's it. This trap will not affect any good robots who are following ``<code>robots.txt</code>`<code> directives. On other hand, all bad bots and crawlers will be eventually trapped and forbidden from ever collecting information from your site again.

Module activation

1. edit </code>`<code>robots.txt</code>`<code> file in the root directory

Before you install this module, you need to edit your </code>`<code>robots.txt</code>`<code> file, and add following three lines

&lt;pre&gt;&lt;code&gt;User-agent: * Disallow: /blackhole/ Disallow: /modules/blackholebots/blackhole/ &lt;/code&gt;&lt;/pre&gt;

2. install module

3. optionally, you can test it by navigating to </code>`<code>http://www.yourdomain.com/blackhole/</code>`<code>. You should be banned from your own site. To lift the ban, reset module from your back office.

Moderation

At the moment there isn&#039;t any UI to manage blacklist. If you want to remove some IP address from blacklist, you have to make manual changes in database table called </code>`<code>PREFIX_blackholebots_blacklist</code>``

Compatibility

  • thirtybees
  • prestashop 1.6.x.x
  • prestashop 1.7.x.x

Author

Petr Hučík - datakick

  • Référence
    blackholebots

  • License
    Inconnu
  • Status
    Unknown

Commentaires (0)

Aucun avis n'a été publié pour le moment.
Chargement...