Need help? Check out our Support site, then

Images and posts import via XML but image links are broken due to renaming?

  1. Hello --

    I am trying to migrate a blog from Movable Type to I have had good success in using to generate a WP export XML file from our MT installation, which does a much better job (among other things) dealing with line endings and post formatting than the straight MT-to-WP export. However, I'm having trouble getting images and posts transferred in a coordinated manner.

    The specific issue is that while posts and images are correctly copied over to during import, the image locations appear to be renamed and the corresponding links in the posts are not updated appropriately. I think this may be an issue with the WP XML format. Below is an example XML excerpt, where a post at is trying to load this image, described as a media asset item.

    What happens during import is that this image:

    is renamed to:

    What is weird is that if I delete all the posts and images and re-upload the XML file, the same image is now renamed to:

    If I try again, I get:

    Is there some sort of internal invisible counter being used during import? Any suggestions on how to tweak the XML so that these links remain intact?


    <title>Bad Habits</title>
    <pubDate>Thu, 06 Oct 2011 10:10:49 -0800</pubDate>
    <guid isPermaLink="false"></guid&gt;

    <content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-1912" title="waterman-apostrophe-fountain-pen-in-black-1-1.jpg" src="" alt="waterman-apostrophe-fountain-pen-in-black-1-1.jpg" width="168" height="168" />I write on my hand. </p>

    <p>(text omitted for brevity)</p>]]></content:encoded>
    <excerpt:encoded>I write on my hand. Well, my palm. Yes, like in 5th grade, I jot things down on my hand. I write down to dos, reminders, notes. In ink. On my hand. It's only on my left hand because, really,...</excerpt:encoded>
    <wp:post_date>2011-10-06 10:10:49</wp:post_date>
    <wp:post_date_gmt>2011-10-06 17:10:49</wp:post_date_gmt>
    <category domain="category" nicename="news-nuisance-miscellany">News, Nuisance, Miscellany</category>

    <pubDate>Thu, 06 Oct 2011 11:43:24 -0800</pubDate>
    <guid isPermaLink="false"></guid&gt;
    <wp:post_date>2011-10-06 11:43:24</wp:post_date>
    <wp:post_date_gmt>2011-10-06 18:43:24</wp:post_date_gmt>
    ... other tags removed for brevity ...

    The blog I need help with is

  2. Sorry copy-paste error on my part. The original image source link text is

  3. This support forum in only for those who have free hosted blogs. Please read vs. as you are posting to the wrong support forum. We cannot help you here. You must post to

  4. Hi Timethief --

    I think I'm posting to the right place: I'm trying to migrate a MT blog on a 3rd party site to a free blog, using the import functionality on FWIW, I am testing out the migration at

    Please let me know if I'm still posting to the wrong forum.



  5. @felciano
    Thanks for the URL. That is a free hosted blog so yes you are posting to the correct forum. However, the blog is private and Volunteers cannot view it. I believe you would be best served by contacting Staff directly for assistance.

Topic Closed

This topic has been closed to new replies.

About this Topic