Exporting/Importing – how to maintain the same id’s
-
In short I’m trying to use WP Ultimate Importer Pro to export all the posts in my custom post type of Talent, along with all of the associated categories (which include custom taxonomy categories of ‘Location’, ‘Level’, and ‘Specialty’) from one website to another. I want to overwrite the current Talent and Taxonomy values in the 2nd site so that the ID’s of the taxonomy values remain the same. The issue is that it’s not maintaining the same ID for each value, but instead creating duplicate values with new ID values.
The custom post types are using ACF for most of the values including the taxonomy.
More of an explanation…. I have a family of 3 salon sites (custom wordpress theme) that are basically the same backend, just styled differently for each location. We have a custom post type of Talent for each stylist. Many of the ‘talent’ work at multiple locations so we want to maintain the same database of talent, and the same taxonomy, for all three locations. When I make a major update to the talent, I want to be able to export them from one site to the other 2 sites. The issue is when I import them it’s adding new duplicate taxonomy values rather than overwriting what’s there. This will not work because I built a custom filtering engine that uses the ID’s for the Location and Level values.
I have tried importing using both the “New Item” and “Existing Items” options, both with the same results. I have also tried deleting all the custom post (Talent) and all the Taxonomy values, before I import but then the ID’s are just continuing from the last one in the database, since those don’t really get deleted.
So Finally… My three main questions are:
Is there a setting inside WP Ultimate Importer Pro that will allow me to import in the posts and taxonomy values overwriting what’s there… and maintaining the same ID’s as the site exporting from?
Is there any easy way to delete all the DB values for the custom post type and the custom taxonomy values so that when I import them it will keep the same ID’s
Probably the best solution – is there a way to maintain one main database of Talent and taxonomy so that all three sites pull from the same database of talent?Sorry for the long post but I thought it needed to be explained thoroughly. Thanks in advance for any help or suggestions.
- The topic ‘Exporting/Importing – how to maintain the same id’s’ is closed to new replies.