Discovering what life is about

HTACCESS update to block bad referers to access your site


 

HTACCESS update to block bad referers to access your site HTACCESS to blog bad referers to access yor site :

 

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{HTTP_REFERER} ^http://.*backgroundpictures\.net/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*embedle\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*extener\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*fbfreegifts\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*feedouble\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*feedouble\.net/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*joinandplay\.me/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*joingames\.org/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*kambasoft\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*musicprojectfoundation\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*myprintscreen\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*openfrost\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*openmediasoft\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*savetubevideo\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*semalt\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*softomix\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*softomix\.net/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*softomix\.ru/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*soundfrost\.org/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*srecorder\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*vapmedia\.org/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*videofrost\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*videofrost\.net/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*youtubedownload\.org/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*zazagames\.org/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*buttons\-for\-website\.com [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*darodar\.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*7makemoneyonline\.com/ [NC]

RewriteRule ^(.*)$ – [F,L]

</IfModule>

 

Ref : https://wordpress.org/support/topic/buttons-for-websitecom

http://perishablepress.com/4g-ultimate-referrer-blacklist/

 


SQL Query to remove bad referers in PIWIK stats :

SQL QUERY TO EXECUTE :

 

DELETE FROM `piwik_log_visit` where referer_name='semalt.semalt.com'

 

---
Categories : Online business    Themes : Tools
Share |
add a comment...

0 Comment

Leave a Comment