Getting started with .htaccess for WordPress

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. 🙂

Published by Shannon

I’m the founder of Café Noir Design Inc., a boutique Montreal web design company specializing in bilingual or multilingual web design. This is my blog where I talk about making the web a better place. I support things like making the web accessible for everyone, using open source software, helping organizations find greener more sustainable ways to operate through online technology and helping non-profits with online community organizing. I also talk about women and tech.