Skip to content

Comment on Cool URIs Don't Change (1998)

Comments

https://domain/customresource/ ---> https://domain/newresource-a/ https://domain/newresource-b

So if I split up a resource into two new resources, where should the old link point to? It seems to me never changing URLs could only ever fully work for applications where the datamodel never changes.

In this case I would try and have the old resource url display a page that links to the two new resources. It’s not that the content of a page should never change but that links into your site shouldn’t break

Depends a bit on the resource type, but one obvious option is something like a Wikipedia “disambiguation” page

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.