The URLs are new

This blog has had pretty long URLs for legacy reasons. Today I’ve made some updates to change that.
Redirects and RSS should all work, though some feed readers seem to surface old posts as unread, sorry for any inconvenience.
For context, this used to …


This content originally appeared on Hidde's blog and was authored by Hidde de Vries

This blog has had pretty long URLs for legacy reasons. Today I've made some updates to change that.

Redirects and RSS should all work, though some feed readers seem to surface old posts as unread, sorry for any inconvenience.

For context, this used to be my company's website. I only really ever updated the blog section, so I decided to make that the main thing. The old structure lasted just over 8 years and my hope is that the new one will break that record.

URLs are such a cool part of the web, especially if they're set up thoughtfully. Like traintimes.org.uk, where you can add /london/bristol to get times for trains from London to Bristol, and /9:00 to that if you want the ones that leave from 9am.

I don't know of ways to give blog URLs very thoughtful strucctures, there isn't a lot of structure in this blog anyway. Anne van Kesteren's classic post on how to do blogs has some good pointers, like where an archive should live.

New blog post URLs

On this blog, a post URL used to be something like:

hiddedevries.nl/en/blog/2022-04-02-my-post

It's now:

hidde.blog/my-post

The main changes are:

  • new host name, reducing lots of characters, easier to remember and put on slides
  • single language setup, removing the need for en
  • no more dates in the URL structure

I wasn't super sure about removing dates, so I asked on Twitter. I didn't have a specific reason for including dates before, it was a default of my CMS and I kind of liked it at the time.

Dates matter

A couple of people replied to my question that dates on blog posts are important to readers. Especially for blog posts that share technical advice, as they could go out of date.

Other reasons for including a date are:

But there are drawbacks too:

  • date is usually creation date, this could make posts seem old, while the author may be frequently keeping content up to date, this could be confusing
  • dates are really metadata, they don't belong in the URL
  • it's not as simple and readable

I've gone for simplicity. I do agree dates matter though, especially on tech posts, so I have the publication date in the post content near the title (I do use GitHub's <time-ago> Web Component to display it relatively). I also include dates when I make updates, though I add those at the end rather than near the title (I probably want to improve that).

That's all for today. I've also moved away from the CMS, so if you notice anything is broken, please do slide in my DMs or email my first name at hiddedevries.nl.


This content originally appeared on Hidde's blog and was authored by Hidde de Vries


Print Share Comment Cite Upload Translate Updates
APA

Hidde de Vries | Sciencx (2022-04-15T00:00:00+00:00) The URLs are new. Retrieved from https://www.scien.cx/2022/04/15/the-urls-are-new/

MLA
" » The URLs are new." Hidde de Vries | Sciencx - Friday April 15, 2022, https://www.scien.cx/2022/04/15/the-urls-are-new/
HARVARD
Hidde de Vries | Sciencx Friday April 15, 2022 » The URLs are new., viewed ,<https://www.scien.cx/2022/04/15/the-urls-are-new/>
VANCOUVER
Hidde de Vries | Sciencx - » The URLs are new. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/04/15/the-urls-are-new/
CHICAGO
" » The URLs are new." Hidde de Vries | Sciencx - Accessed . https://www.scien.cx/2022/04/15/the-urls-are-new/
IEEE
" » The URLs are new." Hidde de Vries | Sciencx [Online]. Available: https://www.scien.cx/2022/04/15/the-urls-are-new/. [Accessed: ]
rf:citation
» The URLs are new | Hidde de Vries | Sciencx | https://www.scien.cx/2022/04/15/the-urls-are-new/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.