WXR file – Media import failed – how to force import?

Question

Say I have one WordPress A that I want to move to WordPress B (different IP addresses, different servers, different subnets). Server A is behind a private IP address.

When selecting export function on WordPress A, I get a WXR file with all the data including the media.

I understand that, when importing the file on WordPress B, the import function tries to download the media. However, import of media fails because media are not downloadable.

Even if I copy media manually into the wp-upload folder, the medias are not imported into the post database.

Is there a way to force import all the content (posts of type posts, posts of type medias), even if the corresponding media cannot be downloaded ?

Thanks
++

0
Ken Addams 2 months 0 Answers 9 views 0

Leave an answer