As I’m working on the upcoming redesign of this place, I’m trying to reassess every single decision I ever made when originally creating Dirty Feed. Everything from the category structure, through to comments, and even the URL structure of the site.
Whilst thinking of that latter point, I’ve been considering this post from Matt Gemmell:
“Can we talk, briefly, about the URLs on your blog?
If you’re like most people, your permalinks (the permanent links to individual posts) probably look like this:
yourdomain.com/2015/02/24/title-of-postWe’re all familiar with those URLs. The date of the post is explicit, so you need never wonder when it was written, or how recent it is.
Here’s the thing, though: they’re horrible.”
Oh dear. I am a naughty boy.
In fact, I end up disagreeing with the vast majority of his piece1 – but let’s skip right to his main point, as I think it’s the most interesting.
“But there’s another reason, and it’s more compelling than any of the above. Date-encumbered URLs dilute your article’s standing.
Here’s what each style says to me:
macro-gurber.co/2014/02/14/about-smartwatches: This is what Macro thought about smartwatches on Valentine’s Day last year. Which raises some other questions, admittedly.
macro-gurber.co/about-smartwatches: This is Macro’s definitive goddamned opinion on smartwatches.That’s the distinction. Have a think about it for a moment. The latter, shorter style is what you want.”
My problem with this: I am never going to have a definitive goddamned opinion on anything. And frankly, I worry about anyone who thinks that they have one. We should all be open to changing our minds. The latter, shorter style here very much is not what I want.
To take an example, let’s take a look at what the URL for this article would be, if I followed Matt’s advice:
https://www.dirtyfeed.org/on-permalinks/
Certainly, www.dirtyfeed.org is going to be the place I use for my random nonsense for many years to come, whatever that random nonsense happens to be. If I live 50 more years, I think I’m more likely to be using this domain than not. So, the above URL indicates: “What I think about permalinks, forever.” And I may have very different opinions on permalinks in 50 years.2 I may not, of course, but how can you tell? I can’t see into the future to tell what I’ll think of this article in 50 years time.
Instead, the current URL format makes more sense to me:
https://www.dirtyfeed.org/2017/01/on-permalinks/
This article is what I had to say about permalinks, in January 2017. Perhaps there’s an argument for simplifying things a bit, removing the “01”, and just indicating it’s how I felt about permalinks in 2017. (Unlike Matt’s original example, I already don’t include the day, which I agree is pointless.) But the crucial thing is: it doesn’t indicate that it’s my definitive goddamn opinion on permalinks, and that’s entirely intentional.
It very much isn’t.
For instance, the first reason given against dates in URLs is: “They’re visually ugly. Strings of numbers aren’t nice to look at. They look like they’re made for machines.” Considering I used to happily write things like “20/01/17” at the top of every piece of schoolwork I did, I don’t consider my URLs to look especially ugly or only suited to machines.
An ugly URL which is made for machines I would suggest is something like:
https://www.youtube.com/watch?v=5sYtul-U3J4. ↩If, of course, they still exist. But that’s a whole other discussion. ↩
