The best URLs

Simon Willison has a good write-up about the importance of unambiguous URLs, i.e. “that any logical piece of content should have one and only one definitive URL, with any alternatives acting as a permanent redirect”.

Simon gives a good example of how the exposure of one particular site is diluted within a social bookmarking service because its home page has four different URLs. Making sure that a resource has a unique URL has other benefits, most notably in facilitating site statistics and traffic analysis (although most stats packages will provide some way to aggregate "default" index names, aliases and missing trailing slashes, which in a way tends to hide the problem).

This is webmaster trivia, and — besides making them readable, reliable and hackable — good webmasters will knock two birds with one stone by also making their URLs cruft-free, hiding whatever technology they're using under the hood (and making everybody's life easier for future site redesigns or evolution).

(And, of course, I'm not applying the advice here, yet. www.padawan.info should redirect to padawan.info, I'm just getting lost at my own Apache redirect maze :p)

1 Comment

Great point on stats packages - I'd completely forgotten about how frustrating it is to make sense of stats for sites that have the same content in multiple places.

Leave a comment

mensuelles Archives

Recent Entries

  • On Apple Safari's use of justified text in Reader

    On my professional blog, a take on Apple Safari's use of justified text in Reader....

  • Curated computing

    Perhaps the most pernicious proposition of the “everything must be open” crusade is the notion that curation is bad and anti-freedom. Soldiers of this crusade...

  • Death by Apple, the obsolescence of Flash

    Flash was created during the PC era – for PCs and mice. Flash is a successful business for Adobe, and we can understand why they...

  • Ogg (and Mozilla) objections

    Ogg objections by Måns: When challenged, three types of reaction are characteristic of the Ogg campaigners. On occasion, these people will assume an apologetic tone,...

  • Paris Web 2010 — Call for speakers

    (Disclaimer: I manage the communication for Paris Web, this is a copy of the official call for speakers.) Hello all, Paris Web is a French...