• There’s a quirk with this in regard to ID clashes of the items you are importing.

    If you use “Tools > Export” to export an XML file of Media from an instance of WordPress, the XML file will contain the IDs of the files from that instance. If you then use this tool to import that file into a different instance that already has files in its media library, it will replace the images in the instance with those you are importing for any items that has an overlapping ID.

    In my case, I want to import using that XML file since it contains other useful metadata but generate new IDs so they don’t clash with files already in the instance I’m importing to.

    Any thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter xk17

    (@xk17)

    I should add the using “Search & Register” as an alternative approach is a workable alternative to this but using the “Import” option and feeding it all the metadata seemed like it would provide a more comprehensive outcome which is why I started there.

    In any case, I think it would be worthwhile to look into an option to control whether it tries to reuse (overwrite) existing IDs vs create new IDs during import.

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    I made “Import” for moving to a new server.
    Other than that, I think that “Search & Register” suffices.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Import Overwrites Based on IDs’ is closed to new replies.