Skip to content

Instantly share code, notes, and snippets.

View TakiDDine's full-sized avatar

TakiDDine

View GitHub Profile
@TakiDDine
TakiDDine / gist:37945d2d6ac23049c50664ef03e0f860
Created May 10, 2022 11:57
Secure wordpress from httrack & crawlers
# Kick off httracker
RewriteCond %{HTTP_USER_AGENT} almaden [OR]
RewriteCond %{HTTP_USER_AGENT} ^Anarchie [OR]
RewriteCond %{HTTP_USER_AGENT} ^ASPSeek [OR]
RewriteCond %{HTTP_USER_AGENT} ^attach [OR]
RewriteCond %{HTTP_USER_AGENT} ^autoemailspider [OR]
RewriteCond %{HTTP_USER_AGENT} ^BackWeb [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bandit [OR]
RewriteCond %{HTTP_USER_AGENT} ^BatchFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]