regex - how to block referrer spam using htccess -


my website getting referrer spam added following code in htaccess

rewritecond %{http_referer} floating-share-buttons.com [nc,or] rewritecond %{http_referer} 4webmasters.org [nc,or] rewritecond %{http_referer} trafficmonetizer.org [nc,or] rewritecond %{http_referer} erot.co [nc,or] rewritecond %{http_referer} yourserverisdown.com [nc,or] rewritecond %{http_referer} event-tracking.com [nc,or] rewritecond %{http_referer} traffic2money.com [nc,or] rewritecond %{http_referer} buttons-for-website.com [nc,or] rewritecond %{http_referer} success-seo.com [nc,or] rewritecond %{http_referer} free-social-buttons.com [nc,or] rewritecond %{http_referer} get-free-traffic-now.com [nc,or] rewritecond %{http_referer} e-buyeasy.com [nc,or] rewritecond %{http_referer} videos-for-your-business.com [nc,or] rewritecond %{http_referer} callgirlservices.in [nc] rewriterule ^(.*)$ – [f,l] 

from http://99webtools.com/blog/block-referrer-spam-with-htaccess/ still getting referrer above websites. me in blocking these spam

as understand it, .htaccess method stops so-called "crawler" referral spam, each page manually crawled. so-called "ghost" referral may spoof visit site using analytics cookie settings retrieved earlier visit (or domain).

i've found way remove these "visits" analytics statistics filters. either explicitly naming bad referrers or using valid holst name filters.

to filter out bad referrers, go analytics tool (for me google analytics), admin, filters, , add new filter exclude host name.

both methods outlined in (an other) articles: http://linchpinseo.com/how-to-block-referral-spam-google-analytics-filters-htaccess


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -