[resolved] Media Library Empty After Importing (2 posts)

  1. scarekrow76
    Posted 4 years ago #

    Does anyone have a solid solution to this issue?

    I've exported the posts from a pre-existing WordPress site (via Tools > Export, by selecting the 'Posts' radio button and clicking 'Download Export File').

    When I import the XML file into a completely fresh installation of WordPress (ensuring the 'Download and import file attachments' checkbox is ticked) I receive a lot of 'Failed to import author...' messages (which, I assume, happen because the importer has already imported that author) and an 'All done' message.

    Posts and comments appear to have been imported correctly but the Media Library is completely empty.

    I can manually copy the 'wp-content/uploads' folder from the old site to the new via FTP, but how do I ensure that the Media Library is populated with the correct metadata (e.g. Title, Alternate Text, Caption) and that the galleries are attached to each post?

    Many thanks.

  2. scarekrow76
    Posted 4 years ago #

    Interesting. If I choose the "All content" option during the export stage, and then try to import the XML document into the new site, everything appears as it should - posts, comments and media.

Topic Closed

This topic has been closed to new replies.

About this Topic