Simon Willison’s Weblog

Which sites have the best URL design?

My answer to Which sites have the best URL design? on Quora

GitHub’s URL design is fantastic—it’s a virtually flawless mapping of Git semantics to URL space. Their basic URL structure is excellent, but they also have a bunch of neat URL hacks going on. Here are a few of my favourites:

  • https://github.com/django/django/compare/4553f511557052d6f18811807ae6136f81fa86a3...master —compare view between commits, branches or tags
  • https://github.com/django/django...—Place #L36-38 at the end of the URL to highlight those lines of code

You can read more about GitHub’s approach to URL design on Kyle Neath’s blog here: http://warpspire.com/posts/url-d...