WordPress.org

Support

Support » How-To and Troubleshooting » WXR Import Screwed Up My Image URLs

WXR Import Screwed Up My Image URLs

Viewing 4 replies - 1 through 4 (of 4 total)
  • Suggestions:
    – Make sure you broke the XML files properly – see detailed info here
    – When you re-import thru XML’s, check the option to import media files in the panel which appears after you choose the file to import to your WordPress

    Thanks Mercrime.

    I noticed one of the XML parts wasn’t closed properly.

    Hmm…the weird include is still happening. Argh, have to rechek the whole XML again.

    And I noticed what’s weirder.

    Because of 1 wrong import, the other posts are now affected. In other words, all my posts with images now have the above problem. Sigh.

    I FINALLY SOLVED IT!

    The reason why it was happening even after I fixed the file, was due to the selected option; Download and Import attachments.

    Every time I tried using this, the second part of the backup I tried uploading for some reason corrupts the anchor/image source as the above.

    Learning this, I uploaded all the backup parts without checking the Import Attachment option and ALL my posts are uploaded as normal.

    ONLY problem now is I’ve over 500 posts to change their status to Publish again though they’ve been previously published. Thank you, WordPress.

    If it’s any help to the team, I’m using WordPress 2.6.3.

    I’m sure this is no help at all after all this time, but I think the XML line you’re missing in the import is

    <wp:status>publish</wp:status>

    Without it, your entries will stay in draft mode until you change them by hand or rerun the import with that line in each item.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WXR Import Screwed Up My Image URLs’ is closed to new replies.
Skip to toolbar