Press "Enter" to skip to content

Month: May 2009

Migrating MT 3.x to 4.x and preserving BASENAME

I’m a big fan of WordPress but I still use MovableType for some blogs. Recently I had to upgrade an old MT 3.25 to the newest 4.25 and decided to that cleanly. Created a new blog on 4.25 with all the required configurations. Then I’ve tried to export all the entries on 3.25 and imported everything back on 4.25. Everything went well except for the minor glitch of MT 3.25 doesn’t export the BASENAME information for each entry (that’s useful if you want to preserve the old links). So, here’s what I did. On your old MT 3.25 edit your lib/MT/ and just add the BASENAME for the template text on the export sub, just before the DATE: BASENAME: < $MTEntryBasename$> DATE: < $MTEntryDate format="%m/%d/%Y %I:%M:%S %p"$> Now, you’ll export a .txt wit all the entries, including the basename. MT 4.x will import this. All you have to do is…