karupoiss
Elite Member
- May 16, 2012
- 3,205
- 1,306
As you know, there is some nasty robot semalt.com that fucks up the analytics by visiting the site and distorting your analytics via that. I had blocked the semalt with this code in .htaccess file:
I had not changed anything with these sites and the code did its job. No more semalt traffic shown in analytics and this worked for months. This morning, 5 of my sites were showing 500 internal server error. The support told that he commented out the code that blocked semalt.com and the sites were working again.
Why did it fck up the sites now when it worked fine for months?
Code:
RewriteEngine On
RewriteCond %{HTTP_REFERER} semalt\.com [NC, OR]
RewriteCond %{HTTP_REFERER} kambasoft\.com [NC]
RewriteRule .* - [F]
I had not changed anything with these sites and the code did its job. No more semalt traffic shown in analytics and this worked for months. This morning, 5 of my sites were showing 500 internal server error. The support told that he commented out the code that blocked semalt.com and the sites were working again.
Why did it fck up the sites now when it worked fine for months?