Out of the Woodwork

« Wikipedia Decides... | Main | Looking My Best »

http://blogs.sun.com/woodjr/date/20070124 Wednesday January 24, 2007

Antisocial URLs

Muhammad Saleem is talking about how bad URL structures can clash with social bookmarking services. Specifically, he notes that providing redundant URLs can lead to duplicate postings at sites such as Digg.

To address the situation, he advises that webmasters provide just one URL per page. That's nice in theory, but can be difficult in practice. Special needs often arise (in areas such as metrics tracking and personalization) which can best be met with varied URLs. Yes, there are a whole slew of ways to deal with such things without touching the URL. But there are also a whole slew of complicating factors (such as trying trying to monitor traffic originating outside the browser in RSS readers or emails). Sometimes one URL just isn't enough.

Fortunately, exposing multiple URLs doesn't have to mean sacrificing the idea that one of them is "primary." Just pick the primary URL and use a <link rel="bookmark" href="..." /> element to identify it (as described in the Wikipedia permalink page). Nice solution, isn't it? You get the best of both worlds--purity and pragmatism.

Unfortunately, most web sites don't include this element, and most tools don't understand it anyway. Why hasn't it gained more traction?

Comments:

I've tried to raise awareness of this in my own organization. Our web analytics system was treating URL variants as multiple pages. (The nerve!) Which muddied up the metrics. It also ignores querystrings, so showArticle.jsp?id=123 and showArticle.jsp?id=456 all show up as just showArticle.jsp. This has actually been the case with three separate web tracking systems I've used. I've come to view it as a general signal/noise problem with lots of unintended consequences, including what Muhammad talks about. I agree that the rule can be broken, but I think people should thoroughly understand the rule and its consequences before they break it, which is rarely the case. It's good to see other people worrying about this.

Posted by Greg on January 25, 2007 at 10:37 AM MST #

Post a Comment:
  • HTML Syntax: NOT allowed

This is a personal weblog, I do not speak for my employer.