Referrer-Spam aussperren per .htaccess

Jeder, der Zugriffe auf seine Webseite regelmässig auswertet, kennt das Problem des  Referrer-Spams. Mit folgenden Einträgen in der .htaccess kann man viele der bekannten Verursacher aussperren  (übernommen aus dem dF-Forum):

RewriteCond %{QUERY_STRING} / [OR]
RewriteCond %{HTTP_REFERER} \.semalt\.com [OR,NC]
RewriteCond %{HTTP_REFERER} best-seo-solution\.com [OR,NC]
RewriteCond %{HTTP_REFERER} best-seo-offer\.com [OR,NC]
RewriteCond %{HTTP_REFERER} youtube-downloader [OR,NC]
RewriteCond %{HTTP_REFERER} buttons-for-website\.com [OR,NC]
RewriteCond %{HTTP_REFERER} buttons-for-your-website\.com [OR,NC]
RewriteCond %{HTTP_REFERER} \.thundersplace\.org [OR,NC]
RewriteCond %{HTTP_REFERER} makemoneyonline\.com [OR,NC]
RewriteCond %{HTTP_REFERER} 0641\.de [OR,NC]
RewriteCond %{HTTP_REFERER} 04102\.de [OR,NC]
RewriteCond %{HTTP_REFERER} yandex\.ru [OR,NC]
RewriteCond %{HTTP_REFERER} \'A=0 [OR,NC]
RewriteCond %{HTTP:VIA} \.telegate\.de [OR]
RewriteCond %{HTTP:VIA} \.domaintools\.com [OR]
RewriteCond %{HTTP_USER_AGENT} Nutch [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Mail\.Ru [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Wget [OR]
RewriteCond %{HTTP_USER_AGENT} Ezooms [OR]
RewriteCond %{HTTP_USER_AGENT} MyUserAgent [OR]
RewriteCond %{HTTP_USER_AGENT} PHP [OR]
RewriteCond %{HTTP_USER_AGENT} Pixray-Seeker [OR]
RewriteCond %{HTTP_USER_AGENT} AhrefsBot [OR]
RewriteCond %{HTTP_USER_AGENT} 80legs [OR]
RewriteCond %{HTTP_USER_AGENT} screenshot [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Dataprovider [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Spiderlytics [OR,NC]
RewriteCond %{HTTP_USER_AGENT} LinkChecker [OR,NC]
RewriteCond %{HTTP_USER_AGENT} LinkWalker [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Apache-HttpClient [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Curl [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Yandex [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Sleuth [OR,NC]
RewriteCond %{HTTP_USER_AGENT} webthumbnail\.org [OR,NC]
RewriteCond %{HTTP_USER_AGENT} admantx [OR,NC]
RewriteCond %{HTTP_USER_AGENT} opensiteexplorer\.org [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Synapse [OR,NC]
RewriteCond %{HTTP_USER_AGENT} WinInet [OR,NC]
RewriteCond %{HTTP_USER_AGENT} fetch [OR,NC]
RewriteCond %{HTTP_USER_AGENT} WWW-Mechanize [OR,NC]
RewriteCond %{HTTP_USER_AGENT} SiteExplorer [OR,NC]
RewriteCond %{HTTP_USER_AGENT} mShots [OR,NC]
RewriteCond %{HTTP_USER_AGENT} cuwhois [OR,NC]
RewriteCond %{HTTP_USER_AGENT} integrity [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Gigablast [OR,NC]
RewriteCond %{HTTP_USER_AGENT} OrgProbe [OR,NC]
RewriteCond %{HTTP_USER_AGENT} Majestic [NC]
RewriteRule ^.*$ - [F,L]
0 Kommentare

Dein Kommentar

Want to join the discussion?
Feel free to contribute!

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.