WordPress.org

Ready to get started?Download WordPress

Forums

Setting post ID back to Zero (2 posts)

  1. erusch
    Member
    Posted 8 years ago #

    In major testing of a new blog I have made over 100 fake posts. I have now deleted all posts and wish to set the post ID counter back to zero. How is that done?

    Eric

  2. pizdin_dim
    Member
    Posted 8 years ago #

    In your database client software, assuming that "posts" is the name of your posts table:

    alter table posts auto_increment=1;

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags