Support » Fixing WordPress » Hellp with weird problem importing and exporting XML!

  • I recently changed the url of my wordpress site.
    I exported all the posts, and want to import them onto my new wordpress site.

    However, I need to change the urls of the imagelinks so they match the locations on my new site.

    Problem is: I tried to do a simple “search and replace” in the xml file.

    When I import it, all is fine – BUT all the affiliate links are gone, the imagelinks are gone nad the “prices” is blank to!

    If I leave the file untouched – theres no problem. But then, my new site keeps loading the images from my old url – and I dont want that.

    How do I change the urls in the xml export file and keep all the custom fields in the posts intact?

    Please help me someone – this is driving me crazy…

    /John

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thewirecontent

    (@thewirecontent)

    Well I did that. EVeryhting is great, but as soon as I try to make changes to the image urls in the custom fields of the post, ALL the custom fields gets blanked out.

    Ive tried search and replace plugin, search regex, plugin and manually search and replace the urls in the xml file. Im also starting off with a clean database.

    If I leave the old url, import works fine and all the custom fields are untouched.

    If I manually change the urls in the posts, one by one, everyhting works fine. But since I have hundreds of posts, I need a mass-fix solution.

    Anybody?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hellp with weird problem importing and exporting XML!’ is closed to new replies.