Remix.run Logo
Cool URIs Don't Change (1998)(w3.org)
74 points by Klaster_1 4 hours ago | 12 comments
torh 7 minutes ago | parent | next [-]

Not that long ago I clicked on a link that Microsoft provided somewhere in Windows -- could have been the event log, I don't remember. I do remember it was for a specific support article, but it ended up at a generic landing page for something. I am not talking about a link from Windows 95, it must have been Windows 10. But regardless, it is all gone. Then again, it probably wasn't a cool URL to begin with.

It's amazingly many news sites that also seem to scrub their URLs every time they do a redesign. Also uncool.

mikepurvis an hour ago | parent | prev | next [-]

Sadly, though:

    $ curl -I https://www.nsf.gov/pubs/1998/nsf9814/nsf9814.htm
    HTTP/2 404 
    content-type: text/html; charset=UTF-8
    content-length: 54737
    date: Sun, 09 Aug 2026 17:58:44 GMT
    strict-transport-security: max-age=31536000; includeSubdomains; preload
    server: Apache
firasd an hour ago | parent | prev | next [-]

What this page doesn't mention is 301 or 302 redirects. SEO has made "old URLs staying live" more of a widespread concern than it was at the time. And WordPress etc ship with inbuilt redirects upon slug rename

So to a large extent this has been mitigated and not using the suggestion here, which is to create a permanent URL ontology upfront

That said eventually neglect, removal, reorgs (or simply websites going offline) still happens... but the way the suggested goal has been advanced is due to becoming a business priority and with redirects and CMSes as tech to help

That said one suggestion made here turned out to be very useful and indeed is the default in WP:

   http://www.w3.org/1998/12/01/chairs
If you use date as part of the taxonomy then -- as Tim BL says here:

> A reason for using a topic area as part of the URI is that responsibility for sub-parts of a URI space is typically delegated, and then you need a name for the organizational body - the subdivision or group or whatever - which has responsibility for that sub-space. This is binding your URIs to the organizational structure. It is typically safe only when protected by a date further up the URI (to the left of it): 1998/pics can be taken to mean for your server "what we meant in 1998 by pics", rather than "what in 1998 we did with what we now refer to as pics."

EGreg a minute ago | parent | next [-]

Sounds like most URIs have been downright uncool, then!

bensyverson an hour ago | parent | prev [-]

Yes but how often in practice does the same information stay accessible via 30x redirects after one reorganization, let alone two or three?

shiandow 43 minutes ago | parent | prev | next [-]

The headers that push a bit into the margin are an interesting stylistic choice, but why on earth does it have to be random? Did something change that affected the layout somehow? (ironically)

al_borland 7 minutes ago | parent | next [-]

I find it works well for helping maintain context. I often can't easily tell the difference between different headers unless they're right next to each other, and even then some of them are difficult to discern. Adding the indentation is a way to make the hierarchy more clear.

snthd 28 minutes ago | parent | prev [-]

It's different for the different header levels.

https://www.w3.org/Provider/Style/GuideStyle.css

    H1 { margin-left: -20%; }
    H2 { margin-left: -15%; }
    H3 { margin-left: -10%; }
    H4 { margin-left: -05%; }
zibw an hour ago | parent | prev | next [-]

A classic. This keeps getting more credible as it ages. Now it's been at the same URI for 28 years.

mooreds 4 hours ago | parent | prev | next [-]

Great article, lots and lots of past discussion: https://hn.algolia.com/?q=cool+uris

WalterGR 2 hours ago | parent [-]

This post is related to (inspired by?):

"The original URL for this prediction will no longer be available in 11 years (2011)" (longbets.org)

https://news.ycombinator.com/item?id=49228458

186 points | 12 hours ago | 91 comments

jruohonen 2 hours ago | parent | prev [-]

It is not only about "coolness" but long-term preservation too; that was one of the main motives behind DOIs.