Block bad bots

Blockiert über die .htaccess Datei unbeliebte Bots um Traffic zu sparen

Eine lange Liste böser Bots, die in .htaccess blockiert werden können, fertig zum Kopieren und Einfügen!

.htaccess
# Start Bad Bot Prevention
<IfModule mod_setenvif.c>
    BrowserMatchNoCase (AboutUsBot|abot|ABACHOBot|3D_SEARCH) bad_bot
    # or
    BrowserMatchNoCase "AESpider" bad_bot
</IfModule>

# < Apache 2.4
<IfModule mod_setenvif.c>
     Order Allow,Deny 
     Allow from all   
     Deny from env=bad_bot
</IfModule>

# >= Apache 2.4
<IfModule mod_setenvif.c>
    <RequireAll> 
        Require all granted
        Require not env bad_bot
    </RequireAll> 
</IfModule>
# End Bad Bot Prevention

Last updated

Was this helpful?