Tag: .htaccess

Bad Bot Blocker

16 August 2014

Bad Bot Blocker 223 Apache htaccess rules to block bad bots. Bad bots are defined as: E-mail harvesters Content scrapers Spam bots Vulnerability scanners Aggressive bots that provide little value Bots linked to viruses or malware Government surveillance bots Russian search engine Yandex Chinese search engine Baidu Yandex/Baidu Unless your website is written in Russian […]

Subfolder to Subdomain with .htaccess

10 September 2013

Convert Subfolder to Subdomain with .htaccess For Example, if you have your url is “http://domain.com/sexy/” and “http://domain.com/files” but you want to convert them all to subdomain too. such as “http://sexy.domain.com” and “http://files.domain.com”. The easiest way to convert folder to subdomain is to use .htaccess, Reconfigured your ServerAlias in Apache Virtual host and add a wildcard A […]