Your .htaccess file controls the Apache webserver behavior, so you can make a number of edits and changes to your site from the extreme backend (or upstream, depending on how you look at).
By editing your .htaccess file, you can manipulate your website before it even hits WordPress, Drupal or static HTML site.
ATTENTION: Before you even open your .htaccess to edit, make a backup copy!!!
It wouldn’t hurt if you made sure it was chmod to 644 to protect it from malicious hackers, too.
Now, on to the code juice:
[Read more…] about Six Solid .htaccess Snippets & Hacks for Your Toolbox