Block referrer spam with mod_rewrite
Dave Child over at I Love Jack Daniels has written about his techniques for blocking referrer spam on his blog. He’s kindly posted some rewrite rules for blocking the most common spam crawlers. Assuming you’re running mod_rewrite, all you need to do is paste the lines into your .htaccess file and the scumbags should get a Forbidden error when trying to crawl your site.
You can leave a response below, or trackback from your own site. You can follow any responses to this post through the RSS 2.0 feed. Alternatively, why not view the next or previous entries:
- In defence of Harry
- I am not alone