A small victory with wordpress and Apache

Today I managed a trick I’ve long wanted. I’ve abolished www from all mcaleely.com URLs, without breaking the ‘pretty’ URLs I use for wordpress blogs. The trick was to have multiple .htaccess files, and actually spend some time understanding what mod_rewrite can do for me. There should be no public impact (other than you don’t need to type www. anymore on this site) – all the old www based URLs will redirect to their new homes.  Any breakage, let me know! 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>