Switching your blog from Moivable Type to WordPress can be a real challenge, especially if your URL structure has changed.
In my case, our blog posts were previously /blog/year/month/post_name_with_underscores.html
and under WordPress were going to be simply /post-with-hyphens/
While there are many a fancy regex one can setup in their .htaccess file for 301 redirects, they often involve looping through a recursive regex to replace each individual underscore with a hypen, and then other regexes to do the rest of the work before finally redirecting.
There had to be a better way… Continue reading “Migrating from Movable Type to WordPress”