• Hi, I need help please. I have a wordpress website that I only want to move the post. The media that is on this website is hosted on Amazon S3. I select tools >> export >> post. On the website I’m moving the post to I go to import file and select Download and import file attachments. Everything works fine and all the media shows up on the post except the featured image. The featured image also in the Amazon S3 folder. Any thoughts on how I can get the feature image to move with the post from website A to B?
    Thank you in advance for any advice
    Kim

Viewing 1 replies (of 1 total)
  • The information about the featured images are present in the exported posts. You can verify this by examining the export XML and finding entries like this.

    <wp:meta_key><![CDATA[_thumbnail_id]]></wp:meta_key>
    <wp:meta_value><![CDATA[10]]></wp:meta_value>

    Here, the CDATA[10] refers to the ID of the media in the media library. As such, the featured image is not a URL but a reference to the media library entry, which is why it is not being resolved in the new site.

    To get the featured images working, you will have to migrate the contents of the media library by exporting “Media” from your current site and importing it to the new one, just like you did for “Posts”.

    PS: You can also examine the XML generated by media export to find the corresponding entry for a particular thumbnail ID, by searching for this string:

    <wp:post_id>10</wp:post_id>
    • This reply was modified 1 year, 3 months ago by dhruvkb.
Viewing 1 replies (of 1 total)
  • The topic ‘Exporting post issue, No featured image and S3’ is closed to new replies.