Yesterday, I wrote a post about how to stop Semalt.com from showing up in your Google Analytics account. Today, in this post, I’ll tell you how to block semalt.com from accessing your website using the site’s .htaccess file. Just as a warning, you need to be a pretty advanced user to do this, as if you do something wrong in the .htaccess file of your website there’s a possibility that you’ll take your website down. Each and every request (every hit on every file) first accesses the .htaccess file before your website loads. This is one way that you can stop visitors and bots from even having access to your website.
There have been a few theories as to how semalt.com is accessing your site. There are rumors out there that they’re using some sort of hacked botnet in order to do all the crawling. Or they’re constantly changing the IP addresses of their crawlers.
If you’d like to block semalt.com by using the .htaccess file, then here’s a few lines of code to add to the file: [Read more...]