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.

Add post type and title to the URL

+2
−1

This would make zero functional change to URLs. It's purely cosmetic.

A link to a post on Codidact often contains no user-readable information about what awaits at the destination. When I find links online, I very often look at the URL in order to get a rough idea of what it links to. Sometimes I open a preview (three-finger-tap in Safari), but just as often, if not more often, I look at the URL that pops up when I hover over the link. On some occasions, I actually open the link in a new tab, but I prefer not to, because of all the overhead. Unfortunately, that is the only viable option if I'm not in Safari (which is at least 50% of the time), for Codidact links. Because of this, can we please add some metadata to the URLs, that is there only for the user to read, but has no effect in any other way? On the client-side, Codidact adds it to the address bar URL, the "copy link" button, the question title link, browser-popup share-button, and strips it server-side.

For instance, https://meta.codidact.com/posts/291173 becomes: https://meta.codidact.com/posts/291173/Q/should-multiple-whitespace characters-in-a-row-be-permitted-in-usernames

And https://meta.codidact.com/posts/291173/292337#answer-292337 becomes:

https://meta.codidact.com/posts/291173/292337/A/should-multiple-whitespace characters-in-a-row-be-permitted-in-usernames#answer-292337

Should the URL always use the current post title, or will that make tools believe it's a different URL?

Post type Letter
Question Q
Answer A
Article E

Additionally, since this adds what can be called "clutter" in certain cases, add an option for "stripped" URLs to the "copy link" button, which will just be the same as the non-Markdown version today.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

When deciding what to put into the URL, one should not forget to check how it affects SEO. (1 comment)
One issue is that while Question, Answer, and Article are baked into the code, it's possible to defin... (2 comments)

0 answers

Sign up to answer this question »