WordPress.org

Support

Support » How-To and Troubleshooting » Post id numbering – auto increment values?

Post id numbering – auto increment values?

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Ah… lightbulb now on.

    Thanks.

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

    gulliver

    @gulliver

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post id numbering – auto increment values?’ is closed to new replies.
Skip to toolbar