• Hi there,
    happy new year!
    I currently want to move my blog (about 2000 articles) and want a “fresh” start, but with the old content.
    Is there a way to get “clean” ids associated with the posts?
    Because of revisions, drafts and whatnot, they’re not constant.
    What I want is to export all the posts (and comments), starting with the id 1, going to 2000.

    And if I set up my new site, and already create some pages, which then have the same id as the posts importing (if above isn’t possible), what to do?

    Thanks so much in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Because of revisions, drafts and whatnot, they’re not constant.

    Why does that matter?

    Thread Starter creasy

    (@creasy)

    Why does that matter?

    I can’t stand it. ??
    I want my pages to have ids from 1-100 (or whatever), and then all the blog posts. Not some pages with an id 1223, and so on.
    But that’s not the point.
    There has to be a way, to edit the ids (or at least let them start from 1 when exporting), right?

    Oh and btw, if it shouldn’t be possible, what about the other question. Anyone knows?
    And also, when I test importing my 2000 posts, the import always gets stuck at about 300 posts. what to do about that?

    There has to be a way, to edit the ids (or at least let them start from 1 when exporting), right?

    No. They’re auto applied, incrementally, by the various database tables. The import will simply assign new ids to the imported content.

    As for your large import, the only thing I can suggest is that you try breaking it down into about 8 smaller chunks.

    Thread Starter creasy

    (@creasy)

    Actually, no, that would be the way I wanted, but it doesn’t assign new ids to the imported content. It just takes the old ids from the export.
    So when I already made some pages in the new install, with ids with ,10-20 for example. those aren’t getting imported because they have the same id… ah well.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Import/Export with "clean" ids?’ is closed to new replies.