Support » Plugins and Hacks » 5 digit post ID for newsite

  • I’m trying to use WordPress for a newsite, and wish to have post ID as 5 or 6 digit (like http://mysite.com/?p=00231 ) from the beginning (rather than starting like 2,3,10,11 ..). Please let me know whether it is possible through some configuration or need to hack codes. Thank you very much.

Viewing 1 replies (of 1 total)
  • You can go into the MySQL db, and set the auto-incrementing value to be 10000, then everything will be 5 digits automatically. That’s the best way to do it, IMHO.

    alternative would be a custom permalink format where you ‘expand’ the post ID as part of the format to have leading 0’s, likely would want to be done as part of a string (mysite.com/p00231/).

    Just some thoughts.

Viewing 1 replies (of 1 total)
  • The topic ‘5 digit post ID for newsite’ is closed to new replies.