Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
ft.com URL tidy up

Old ft.com URLs

http://www.ft.com/cms/s/0/d3fe0b06-9e43-11e3-b429-00144feab7de.html

  • http://
  • www.ft.com
  • /cms -> the thing that published the article
  • /s -> who knows?
  • /0 -> the subscription tier
  • /d3fe0b06-9e43-11e3-b429-00144feab7de -> the CMS key of the content
  • .html -> the document format

New ft.com URLs

Tidier ...

https://www.ft.com/content/d3fe0b06-9e43-11e3-b429-00144feab7de

And we have an API that lets us translate ^^ to something more human readable,

https://www.ft.com/content/sevastopol-yearns-for-mother-russia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment