How to change Category's ID?

AI-generated summary

The discussion revolves around changing a category’s ID in a Discourse community. digital.potion wants to reorder their categories to have specific IDs, but Canapin notes that IDs are automatically generated and cannot be overridden. digital.potion confirms that the issue is purely aesthetic, as they want to link the Discourse URLs to their homepage in a specific order. mattdm relates to the issue, sharing that they too initially tried to get their site’s primary categories to have nice, sensible single-digit numbers.

Question:
How do I change the category’s ID (The number at the end of the URL)?

Example: Latest bug topics - Discourse Meta

  • Category URL: https://meta.discourse.org/c/1
  • Category ID = 1

Context:
I am setting up my Discourse community and have created 5 categories that should be in a specific order.

I could specify the display order using the category’s Position on the categories page setting.

But ideally, I want the first category to have ID 1, the second category to have ID 2, etc.

Is there a setting I simply missed?

Thank you for your time :man_bowing:

Welcome, digital potion :slight_smile:

As far as I know, IDs are incremental, automatically generated and can’t be overridden.

There are several ways to order categories. To you, is the ID issue only an aesthetic URL problem?

If it is, I can kind of relate. I spent a little bit of effort initially trying to get my site’s primary categories to have nice, sensible single-digit numbers in an order that made sense to me.

Thank you for your quick response Canapin :man_bowing:

Roger that :ok_hand:

Yes. I was linking the Discourse URLs to my homepage and preferred them to be in a specific order.