Link : https://store.getdatakick.com/en/modules/blackhole-for-bad-bots
This is very simple free module for prestashop and thirtybees platforms. It is based on a very simple idea:
User-agent: *
Disallow: /blackhole/
This is very simple free module for prestashop and thirtybees platforms. It is based on a very simple idea:
- you instruct all robots visiting your website NOT to open specific url
- 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)
- when anyone access this forbidden page, his IP address will be immediately added to blacklist
- blacklisted visitor are forbidden from viewing content from your website
- 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.
MODULE ACTIVATION
- edit robots.txt file in the root directory
User-agent: *
Disallow: /blackhole/
- install module
- optionally, you can test it by navigating to http://www.yourdomain.com/blackhole/. You should be banned from your own site. To lift the ban, reset module from your back office.