Skip to content

Instantly share code, notes, and snippets.

View oguzserdar's full-sized avatar

Oguz Serdar oguzserdar

  • Limk
  • Calgary, CA
View GitHub Profile
@oguzserdar
oguzserdar / referrer-spam-blacklist
Last active August 29, 2015 14:22
Stop the referrer spam
# This blacklist is ready to use in your site's root htaccess file
# Banned websites and crawlers
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*semaltmedia\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*100dollars-seo\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*12masterov\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*4webmasters\.org(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*7makemoneyonline\.com(/|:|$)" banned
SetEnvIfNoCase Referer "^http://([a-z0-9\-]+\.)*acads\.net(/|:|$)" banned