• i don’t know if this makes much sense, but….i’m going to try. i need my post ids to be in order (1, 2, 3, 4….etc) even after a post has been edited. is this possible?

    one reason is because of the archives: https://clonaid-commandos.letmefall.com/?page_id=2

    and another is for future needs of the site.

    thanks in advance for any and all help!

    ~Rea

Viewing 4 replies - 1 through 4 (of 4 total)
  • one reason is because of the archives: https://clonaid-commandos.letmefall.com/?page_id=2
    Why do you have to display the post id anyway?

    another is for future needs of the site.
    okay, you haven’t convinced me yet that your goal is worth the trouble. what is that “future needs” of the site?

    Editing a post will not change its post ID.

    IDs are used for each new item in your database. Say you publish a post with ID 2. Then you compose a post, but save it as a draft. That draft will have ID 3. If you then publish another new item, it will have ID 4. If you now publish your draft, it will still have ID 3.

    If, instead of publishing, you delete your draft, there is now a (logical, not real) blank spot in your IDs. Number 3 will forever be unused, and your next post or draft will be ID 5.

    Renumbering your IDs is usually not worth the trouble. If you only have a few posts right now, the easiest thing is to start over, and re-add the content in the order you want.

    If necessary, there are some methods for re-assigning the auto-increment counter, using phpMyAdmin.

    Thread Starter Rea

    (@rea)

    hmmmm, i see. thanks for the tips. i guess it would be easiest to start over. ??

    Post ID’s have no significance beyond uniquely identifying a single entry in the database. It has no relevance beyond that, if you enable permalinks on your site, you won’t even see the ID’s so it not worth starting over or trying to change it manually.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘restarting post id numbering’ is closed to new replies.