I know WordPress has a built-in tool for exporting content, but this does not actually export images associated with each post...it only exports an XML file. How do I actually export images in each post and upload them to my new WordPress site?

1 Answer 1


The XML file you export will include references to the images, including a full URL. If the assets are actually available at that URL when you import the XML file, WordPress will automatically download them and add them to your new site's media library.

This gets tricky if the site you're importing from isn't publicly available via http. If that's the case, you can move the assets to someplace that is publicly available, and find-replace the relevant domains in the XML file before importing.

What you won't get (at least, I don't know how) is a bundle of content and files in a single package. You might try looking for a plugin that does this, but I couldn't find one with a cursory search.

  • Did you already find a solution? At the moment I manually export the media-Folder /wp-content/uploads
    – Sven
    Aug 16, 2013 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.