News for hackers. Stuff that matters.
Re:Ask HN: URL format for blog posts - which format is best? by mayoi on Tuesday August 23, 2022 @08:04AM (#32563566)
It doesn't really matter to me that much because it's all useless and too long to remember that I will bookmark everything I care about and give them a proper name handwritten title by myself, but if I had to choose, it would instead look something like the urls in software documentation:

> https://en.cppreference.com/w/cpp/container/vector

See? You don't even need to open it to know what's going to be there.

Sadly, it's kind of hard to map for arbitrary blog topics so I can't give you a realistic example for how it would work there, but I guess if you made a post about new foreign recipe, it could probably be

> /<country of interest>/<topic of interest>/<object of interest>

> /japan/food/salmon

Your imagination is your only limit and I recommend you stop to think about what is the purpose of spending that much time on it, and you may find what you need.

There are no comments on this comment yet.