More MT to WordPress Rewrites

As I noted in a previous entry, I used the Rewrite rules suggested by DrBacchus. I’ve just now updated them to handle the monthly archives as well as the single article archives. I also made these rewrites work as permanent redirects. Javablogs updated my feed info automatically which was nice. Here are the rewrites I am using:

RewriteRule ^blog/archives/(200.)_(..).html$ /blog/index.php?m=$1$2 [R=301]
RewriteRule ^blog/archives/00(.*).html$ /blog/index.php?p=$1 [R=301]

mod_rewrite rocks.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.