Creating a solid base for your .htaccess
file. Currently includes RewriteBase, Security (against indexes, files, etc.), and Expires Headers (caching, performance).
- The URL REWRITES would go at the top of the file.
- The SECURITY and the WEB PERFORMANCE can go towards the bottom... before and WordPress or WP Super Cache items.
- UPDATE 2013-08-21: Added code for forcing either non-www or www. on URLs. Also added the MultiViews option.
- UPDATE 2013-08-23: Added specific code for
wp-config.php
- UPDATE 2013-10-04: Increased favicon expire time.
- UPDATE 2014-02-05: Removed the Force URL rewrites since there's more than one option.