This method is based on the WordPress Wiki Method of creating redirects when switching from Movable Type to WordPress

What you need to do is create an MT Template containing the code below, and then, when you open it in the browser of your choice, paste the redirects into the .htaccess file you will find in your public_html folder.


< ?php
require('wordpress/wp-config.php');
header('Content-type: text/plain');
?>
<MTEntries lastn="9999">
Redirect Permanent /archives/<$MTEntryID pad="1"$>.html http://www.yoursite.com/index.php?p=<$MTEntryID$>
</MTEntries>
<MTArchiveList archive_type="Monthly">
Redirect Permanent /archives/<$MTArchiveDate format="%Y_%m"$>.html http://www.yoursite.com/index.php?m=<$MTArchiveDate format="%Y%m"$>
</MTArchiveList>
<MTCategories>
Redirect Permanent <$MTCategoryArchiveLink$> http://www.yoursite.com/index.php?c=<mtcategoryid>
</MTCategories>

You may have to tweak this a bit to get the numbers to line up, or to skip entries that don’t exist (lastn=”9999″ offset=”42″) and the categories section you will have to tweak the output so that each line starts


Redirect Permanent /archives/cat_foo_bar.html .....

But in the end, you should hopefully end up with any visitors in the right place, or at least somewhere better than a 404 error