Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

Post History

81%
+7 −0
Q&A Allow use of slugs in category and tag routes

Currently, we pass an ID in urls for the category and tag routes. For instance, the Q&A category on this meta site has an ID of 3. In the long term, this makes it harder for people to access c...

0 answers  ·  posted 3y ago by sau226‭

#1: Initial revision by user avatar sau226‭ · 2021-08-18T15:09:01Z (over 3 years ago)
Allow use of slugs in category and tag routes
Currently, we pass an ID in urls for the category and tag routes. For instance, the Q&A category on this meta site has an ID of 3.

In the long term, this makes it harder for people to access content. For instance, a user can't navigate to (Codidact meta)/categories/3/tags/status-completed to see posts that have the status-completed tag, but instead have to look up the tag in search, know its id is 377 and substitute that in.

Could we please consider including one or more of the below features in QPixel?:
* Add an option in category settings to allow setting a "slug" for that category, and let people access a category with its corresponding "slug". Potentially add the "slug" automatically for the currently seeded categories per site.
* Allow users to access tag routes in a category by their name, or a properly escaped version of it (example in my paragraph above).

I'm also happy to hear your thoughts on how we could allow lookups of things using relevant text directly for routes, instead of enforcing an ID for every lookup.