WordPress.org

Ready to get started?Download WordPress

Forums

Post id numbering - auto increment values? (4 posts)

  1. gulliver
    Member
    Posted 4 years ago #

    I'm considering a swap from Movable Type to WP, and finding the WP post-id numbering system confusing as my WP install is assigning them in a manner other than I'd expect.

    As the default 'hello' post is, as expected, numbered 1, and the default 'about' page 2, I'd expected new posts to be sequential incrementing as 3, 4, 5, 6 etc.

    But the assigned numbering is 4, 6, 8, 10... It's this I find odd.

    Is this normal, and if not, id there a way to have sequential IDs assigned to posts?

  2. Chris_K
    Member
    Posted 4 years ago #

    Yes, it is normal. Your posts do get sequential IDs, just not without gaps :-) I guess you could say it is working as designed.

    If you peek in the posts database table, you'll see that IDs are used for a variety of different types of records, including posts, drafts, revisions and even images associated with posts.

  3. gulliver
    Member
    Posted 4 years ago #

    Ah... lightbulb now on.

    Thanks.

    Bummer though, I'm anal-enough to want that 'no-gap numbering'.

  4. gulliver
    Member
    Posted 3 years ago #

    Is there a way to change things too get that sequential numbering?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.