0

I have an export/import file with multiple medias

Example:

<title>media-1</title>
<link>my-site/media-1/</link>
<guid isPermaLink="false">my-site/wp-content/uploads/2019/08/media-1.jpg</guid>
<wp:post_id>690</wp:post_id>

...

<title>media-5</title>
<link>my-site/media-5/</link>
<guid isPermaLink="false">my-site/wp-content/uploads/2019/08/media-5.jpg</guid>
<wp:post_id>695</wp:post_id>

When I import the file, all the id's of the medias change.

media-1 has the id 695

media-5 has another id 700

This is bad, because the id's are used in the content and for the featured image, but they do not match to the post anymore because the id's changed! What can I do about this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.