WordPress.org

Support

Reuse post ID

  • I would like to use WordPress to power a collaborative weblog. The ability to submit a post should be open to anyone who’s registered, so I’ve set the default role for new users to ‘contributor’. No problems there!

    Importantly however, I’d like to keep the permalinks as short as possible, circumventing the need for URL-shortening services (e.g. tinyurl.com). Using the post ID is probably the best way to do this, i.e. wordpress.org/category_name/post_ID

    WordPress needs to give each post a unique ID to distinguish between entries in the MySQL database, but it doesn’t reuse an ID after post deletion.

    From a permalink perspective, this is understandable if a post has already been published (i.e. to prevent a sort of ‘bait-and-switch’), but not when the deleted ‘post’ was actually a draft, or had been rejected by a moderator after ‘submit for review’ (the same applies to comments, but I don’t care so much about those).

    Is it possible to (automatically) reassign or reallocate a post ID after deletion?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reuse post ID’ is closed to new replies.
Skip to toolbar