Hey everybody.
So, you may or may not know that I designed qntm.org to have extremely terse, human-readable, human-memorable URLs. The full rationale behind this design decision can be found in my article from a few years ago, On short URLs.
One of the reasons given for this scheme is:
Because each page has a short, unique "slug" (e.g. in "http://qntm.org/destroy", the slug is "destroy"), each page has a unique URL. There is no redundancy in my URL schema - i.e., it is not possible to reach the same resource via multiple URLs. This keeps my site's complexity to a minimum and I'm told it's also good for SEO, although I honestly pay very little attention to the latter.
Here's what happens, then, when you try to load various URLs:
Now, new content on qntm.org is made available via an RSS feed which is in turn accessed by many feed readers. It was recently brought to my attention that the feedly feed reader was beginning to append query strings to the end of URLs when users visit them. For example, although the announced URL for my review of the movie Oblivion was
, the URL that users of feedly were sent to when they clicked on that link (or however it is that feedly works) was
, which, as described above, results in a 404 response code. Unfortunately, this casts qntm.org as an unreliable website, which is undesirable. The intended purpose of these extra keys and values in the query string is outlined here. In theory I could gather up this information and use it to carry out analytics on my site usage, but I don't actually care.
This behaviour was brought to feedly's attention by a reader, and feedly added qntm.org to a whitelist overriding this behaviour. But the question remains.
Is it normal to add an arbitrary query string to the end of an existing URL and expect the modified URL to still locate the same resource? Is qntm.org's current behaviour in all four of the above cases technically correct? What are the pros and cons of, for example, serving a 301 Moved Permanently redirection to the canonical URL, instead of the 404?
I've implemented the suggested change of serving a 301 Moved Permanently to people who append random query strings. I also did some plumbing, so please let me know if you notice problems with the way that qntm.org is working.
Some backend changes are coming, none of which should (ideally) change the way that qntm.org functions other than to improve performance. I'm building some nominal testing procedures but please let me know.
Discussion (28)
2013-05-03 21:25:57 by Joshua:
2013-05-03 21:44:16 by DavidHaitch:
2013-05-03 21:46:04 by qntm:
2013-05-03 21:49:32 by speising:
2013-05-03 21:56:48 by DanielParks:
2013-05-03 22:02:01 by Evan:
2013-05-03 22:03:09 by DavidSimon:
2013-05-03 22:05:07 by hpc:
2013-05-03 22:05:32 by Graeme:
2013-05-03 22:08:30 by LeanderHarding:
2013-05-04 01:25:04 by slucidi:
2013-05-04 03:49:06 by Andrew:
2013-05-04 07:49:24 by Scuzzball:
2013-05-04 12:38:53 by Michael:
2013-05-04 14:24:33 by Tom:
2013-05-04 15:48:16 by Calvin:
2013-05-05 21:11:10 by Veky:
2013-05-06 15:35:13 by onapthanh:
2013-05-06 18:32:52 by speising:
2013-05-07 08:32:28 by Veky:
2013-05-07 15:45:31 by Michael:
2013-05-08 07:07:47 by Kochier:
2013-05-08 23:09:19 by slucidi:
2013-06-05 20:10:22 by Psycho:
2013-06-05 22:07:03 by qntm:
2013-06-07 06:41:34 by Psycho:
2013-06-07 06:43:31 by Psycho:
2013-07-01 03:02:37 by OvermindDL: