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
Canapin
(Coin-coin le Canapin)
2023 年 6 月 14 日午前 11:12
2
Welcome, digital potion
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?
mattdm
(Matthew Miller)
2023 年 6 月 14 日午後 1:01
3
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.
「いいね!」 2
Thank you for your quick response Canapin
Roger that
Yes. I was linking the Discourse URLs to my homepage and preferred them to be in a specific order.
「いいね!」 2
system
(system)
クローズされました:
2023 年 7 月 15 日午前 2:27
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.