URL structure

What's the Best URL Structure: Slugs and IDs?

I'm trying to decide between two URL structures for my articles. The first option is /news/12345-slug-here-blah-blah/2 and the second is /news/12345/slug-here-blah-blah/2. I definitely need to keep the reference…

Why Do Some Websites Use Both Slugs and IDs in Their URLs?

I've been exploring some tracking websites and noticed a pattern in their URL structure. For instance, URLs like `https://anilist.co/manga/53390/Attack-on-Titan/` and `https://myanimelist.net/anime/16498/Shingeki_no_Kyojin` feature both an immutable ID and a…