The capabilities of .htaccess are incredible. Among some of the goodies are protecting directories (even with a username and password), filter bot traffic, block IPs, and my newest favorite… masking files!

I’ve had the pleasure of upgrading some old HTML files into a CMS with dynamic content. No problem! But what about all the search engine traffic that is still going to the old HTML pages? That stuff is gold and we don’t want to mess with redirecting it.

Only 4 lines in my .htaccess file is all I need!

continue reading…