Forums

Import post thumbnails (6 posts)

  1. billseymour
    Member
    Posted 1 year ago #

    I have searched both the Forum and Google, and I have not found an answer to this question:

    How can I export posts WITH their thumbnails (featured images) from one WP installation, and then import the posts WITH their thumbnails into a new WP installation.

    I can successfully use Tools>Export/Import to export/import posts, comments, categories, tags. But nowhere do I see how to handle the export/import of the thumbnails (featured images).

    Is it actually necessary to separately upload all of the thumbnails to the new WP installation, and then individually re-connect them to their posts via post-by-post, edit>add-featured-image?

    I wonder how folks who must migrate a large WP blog from one host to another handle this problem. Thanks for any thoughts. --Bill

  2. billseymour
    Member
    Posted 1 year ago #

    Sorry- completely forgot to add:

    I am trying to export from a Localhost (XAMPP) development WP site, to a WP installed on one of my domains on the net.

    Sorry for the omission. Thanks. --Bill

  3. billseymour
    Member
    Posted 1 year ago #

    I believe I have answered my own question (isn't that just the way it goes?)

    I now understand, and have tested successfully, the following:
    - Localhost: Tools>Export everything into an XML file
    - Edit the XML file, Search/Replacing the Localhost part of the attachment_URL with my real site's URL
    - Upload (FTP) the images/folders from Localhost wp-contents/uploads to the site's wp-contents/uploads
    - In site's WP admin, Tools>Import of the modified XML file (checking box to include attachments)

    I now have the thumbnails/featured_images, properly appearing with their posts/pages.

    Anyway, I now have much more confidence about putting in development time on a Localhost WP site, knowing that I can get the darned thing uploaded to it's ultimate destination.
    --Bill

  4. MarkSherwood
    Member
    Posted 1 year ago #

    Bill can you answer my question please? Its very similar to yours, and you may be able to help. Heres a link to my thread -

    http://wordpress.org/support/topic/fatal-error-224?replies=1

  5. Papawaya
    Member
    Posted 11 months ago #

    @Billseymour - Thanks for your steps ..it all worked well for me and I noticed that the XML wp_attachments data also included all the extra image sizes that I had added to the site functions.php file so that when the import ran all those sizes were automaticaaly created too , which was nice and saved an extra job that I thought I would have to resolve.That makes the import slower to run but it ticked through ok

  6. juliensechaud
    Member
    Posted 7 months ago #

    Thank you so much man
    it works just perfect
    cheers !!

Topic Closed

This topic has been closed to new replies.

About this Topic