News for hackers. Stuff that matters.
Re:Cool URIs Don't Change by pheeney on Saturday March 04, 2023 @09:13AM (#35020869)
I always struggle designing urls in the first place with SEO in mind.

Do I put an ID that bad actors can crawl in ascending order? Do I hash the ID? Do I have a unique slug that requires thought to avoid clashing in the future? Does that add another DB lookup or are you looking up the ID anyway? Do you do /id-slug or /id/slug but if you move to Wordpress or off your stuck with /slug or something with no ID.

Maybe none of it matters but it seems like it does, especially if you consider it a change you expect to last the life of the domain. Every tech solution instead of rolling their own has their own unique way of handling it.

Re:Cool URIs Don't Change by naasking on Saturday March 04, 2023 @09:35AM (#35020988)
It seems bizarre to me that URLs should matter for SEO. We have hypermedia for that. URLs should technically be opaque and make sense only to the server.