Skip to content

zennessless/blocked

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Block IP Addresses & Bad Bots

Script & settings to block website bad bots and site copiers.

Installation

.htaccess version:

Copy content of the .htaccess file (or the file itself) into your root folder .htaccess file.

.php version (recommended):

Copy inc folder or it's content and include blocked.php in your header.php or every file of your static php page by include __DIR__'/inc/security/blocked.php';

  • Add the IP addresses you want to block in bad.ip.addresses.php
  • Add the bad Bots names you want to block into bad.bots.list.php
Feel free to suggest improvements!

About

Script & settings to bock website bad bots

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published