This weekend I gave a talk on using .htaccess files with WordPress at WordCamp Toronto: Developers 2012…
An introduction on how to configure your .htaccess file to do more than what WordPress provides by default. The talk will cover basics like setting up a preferred URL, and redirecting old page URLs for better SEO. How to optimize your site’s files using gzip will also be covered, as well as preventing image hot linking, and more. A sample .htaccess file will be provided to all attendees. A useful introduction to a very important file for any shared hosting environment.
These are the slides.
And if you’d like a copy of the starter .htaccess file I discussed, you can download it here. You’ll need to rename it to .htaccess to use it. Please note that the file is released under the GPL licence without any warranty whatsoever. Use it at your own risk. 🙂