Human-readable URLs

By Deane Barker 2 min read
AI Summary

This post discusses the importance of human-readable URLs in web design, emphasizing their role in enhancing user experience and SEO. The author outlines best practices for creating such URLs and highlights the benefits of clarity and simplicity for both users and search engines.

I’ve always been a big believer in legible URLs. There’s nothing more annoying than a URL that stretches into hundreds of characters – ever tried to email one of those to a mail client that wraps at 76 characters? Additionally, I’ve written before about the need to support URL hacking.

When I wrote Vikings.com, we ended up asynchronously rendering the site into hard-coded HTML for performance and fault tolerance, but it had the added benefit of creating some really nice URLS, like http://www.vikings.com/Players/GregBiekert.htm instead of http://www.vikings.com/Player.asp?PlayerID=54.

(Sadly, we didn’t address URL hacking here, given that I wrote this a long time ago. If you chop off the player’s name, you get “Directory Listing Denied.” Bad. I’m embarrassed.)

Here are some articles that address this same thing. Although one of them claims that search engines won’t index pages with querystring arguments (not true, in most cases), they make some good points.

Meaningful URLs This is a great article that really sheds light on some handy uses for URLs. For instance:

In Edward Tufte’s classic book The Visual Display of Quantitative Information (Great book – Deane), he coins the term chartjunk to refer to needless visual flourishes that contribute nothing to the effectiveness of an information design in communicating to its audience. These days, our URLs are loaded down with something very similar: long strings of characters that exist only to satisfy some technical constraint, detracting from the effectiveness of our URLs as communication tools.

URL as UI And from my good friend (well, I did meet him once…) Jakob Neilson, we have this:

Do not use MiXeD case text in URLs since people can’t remember the difference between upper-case and lower-case characters: all-lowercase URLs are usually preferred (domain names are less of a problem since they are case-insensitive – usability would increase if web servers would ignore case in resolving URLs)

Oh, I so agree. How hard is it to use mod-rewrite on Apache to remove case-sensitivity from URLs? (If I owned the server on which this site is hosted, I’d do it here…)

Postscript: I found some notes on HealYourChurchWebSite.com (a great blog, BTW) on spoofing fake URLs then pulling dynamic content: How to Succeed with URLs mod_rewrite madness, Part One.

Links to this – Questioning the Effectiveness of Keywords in URLs December 29, 2006
There’s an accepted theory in SEO: put keywords in your URLs. This is so accepted, that no one questions it and content management systems routinely have modules, extensions, and allowances for users to create keyword-rich URLs. But, does this work? Does anyone know for sure? I’ve been casually...
Links to this – Thoughts on Posts and Articles September 22, 2003
Content can be temporal or permanent. Which type it is has impact on how it's handled.
Links from this – The Well-Appointed Web Page August 19, 2002
Web developers want one thing: control. HTML is such an imprecise language that building Web pages has continually been a struggle between what we want to do and what the language is capable of. As a result, the short history of the Web has been an exercise in perverting HTML as far beyond its...