Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Jun 29 '12 at 16:21

This question came from our site for professional and enthusiast programmers.

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.

share|improve this answer
    
Did you already find a solution? At the moment I manually export the media-Folder /wp-content/uploads –  Sven Aug 16 '13 at 8:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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