Announcement

Collapse
No announcement yet.

How to Block Unwanted Bots from Your Website with .htac

Collapse
X
Collapse
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Block Unwanted Bots from Your Website with .htac

    How to Block Unwanted Bots from Your Website with .htaccess



    Code:
    [COLOR=#000000][FONT=Consolas]BrowserMatchNoCase SpammerRobot bad_bot[/FONT][/COLOR]
    [COLOR=#000000][FONT=Consolas]BrowserMatchNoCase SecurityHoleRobot bad_bot[/FONT][/COLOR]
    [COLOR=#000000][FONT=Consolas]Order Deny,Allow[/FONT][/COLOR]
    [COLOR=#000000][FONT=Consolas]Deny from env=bad_bot
    
    [/FONT][/COLOR]
Working...