Forums

XML Importer not respecting IDs (6 posts)

  1. JsonB123
    Member
    Posted 1 year ago #

    I'm using the standard WordPress Importer (which I guess now has to be activated as a plugin?). Anyway, I've noticed that on most of my posts and pages the IDs are respected and kept the same...but some aren't which is a problem for me.

    I try to never reference anything by exact ID but sometimes it's necessary. I thought that maybe some of the pre-existing sample page / posts were conflicting, so I started fresh and deleted those before the import...but the same thing happens.

    How do I get the importer to keep the exact same ID for everything that I'm importing? Thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Imports add posts to your database. They do not over-write any posts but simply add them onto your current posts in the same way as normal publishing. There is no way to retain the original post ids.

  3. JsonB123
    Member
    Posted 1 year ago #

    So, is there any way to actually retain IDs for posts and pages that I wish to migrate to another WordPress install?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Correct. Export/import adds posts. It doesn't synchronise the 2 installs.

  5. JsonB123
    Member
    Posted 1 year ago #

    Huh? I asked if there was a way to retain IDs other than using a WordPress export/import; so is there?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No - there isn't.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags