MT -> WP migration, attempting to match urls

apps

#1

hey all,

I’m brushing up on my .htaccess and regular expression skills!

I just moved my MT blog to WP and am attempting to match the URLs so i don’t lose SEO juice.

but my .htaccess skills aren’t all that great and haven’t touched reg exps in a long time. So i’m trying to make this WP URL:

betaday09-11-17-09.shtml

look like this MT URL:

betaday09_111709.shtml

it looks like in WP their %postname% is just substituting ‘-’ for any unusual characters while MT took out the slashes in dates, and then stuck a _ for spaces. can anyone help me with either an example of a substitution using a set of RewriteCond’s and RewriteRule’s, or a pointer to a webpage with examples of someone doing this thing?

Thanks in advance!

Dave