Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Comments on Why do tags URL contain the ID of the site?
Parent
Why do tags URL contain the ID of the site?
I have been browsing through the tags on different sites and found out its URL contains the ID of the site they belong to:
- In Linguistics (id 36 as a site):
- In Linguistics Meta (id 37):
- In Linguistics Resources (id 40):
So some comments:
- I see the need to group the tags IDs depending on the part of the site they belong to (Meta, main, resources, challenges or whatever else), but wouldn't the URLs be easier to determine by using subdomains? Like
https://languages.meta.codidact.com/
- Why is
categories
in the URL? - Could the name of the tag be part of the URL instead of its ID for a better manual search?
- Shouldn't the URL of subtags be different from the URL of tags? I compared in Judaism the tag agriculture https://judaism.codidact.com/categories/32/tags/3486 with its subtag challah https://judaism.codidact.com/categories/32/tags/3033
All of this comments come from a user perspective that may want to browse through the URLs independently of the UI. Also, I base my understanding of tags on the post Tag updates, including tag hierarchies, there may be other documentation about the topic that I could not find.
Post
They don't.
Linguistics is one site. Its site ID is 12. It has three categories - Q&A, Meta, and Resources - with IDs respectively of 36, 37, and 40.
Each category has a tag set, which contains tags used in that category; tag sets can be shared across multiple categories. The tags page URL starts with /categories/37
because it's looking up tags for that category (or, technically, within that category's tag set).
Parent and child tags are no different to each other; they're both fully-qualified top-level tags, just that they're related to one another - hence, the URL is no different other than the ID.
0 comment threads