Hacker News new | ask | show | jobs
by ynak 3219 days ago
A bit off topic, but why does Medium add random numbers and chars at the end of their URLs like the example below[0]? That's annoying and distracting when referring from other platforms. Is that a git hash or something? If so, can I check revise history of the article?

[0] https://medium.com/@soleoshao/how-i-used-docker-for-latex-on...

2 comments

The hash at the end of the URL is actually the article ID, the part before that is just for SEO/readability, and has no affect on loading the article.

e.g.: omitting the article title from the URL still works (https://medium.com/@soleoshao/cd29c0713cad) as does changing it to something else entirely (https://medium.com/@soleoshao/i-like-turtles-cd29c0713cad)

Both those URLs still load the article in question.

The other random numbers they used to add after the article ID were for tracking purposes but it seems like they recently backed off on those.