WordPress.org

Ready to get started?Download WordPress

Forums

Reorganize ID nums? (2 posts)

  1. evenSong
    Member
    Posted 10 years ago #

    Right now, my two only articles are ID 4 and 5. There is no article 1, 2, or 3 because I deleted them. However, instead of reorganizing the numbers, it starts from the last ID number, regardless if it exists or not. So is there a way I can reformat my ID numbers? Same goes with Catagory IDs.

  2. welsper
    Member
    Posted 10 years ago #

    The command, straight from the source:
    http://dev.mysql.com/doc/mysql/en/example-AUTO_INCREMENT.html
    Messing around with auto-increment is a bad idea in general so it would be a good idea to do a backup before trying.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.