Skip to content

URLs

URLs and URIs in TNA services MUST:

  1. be clear, unambiguous, easy to read, easy to type and easy to share
  2. be in lower case
  3. align with the title of the page
  4. use words and should not contain acronyms, unless very well known or a department acronym (e.g. HMRC)
  5. separate words with dashes (-) rather than underscores (_) so they are easy to read
  6. use ISO 8601 format if including a date

In addition, URLs and URIs in TNA services SHOULD:

  1. not use a, an, the and other superfluous words (e.g. /press-room/ rather than /the-press-room/)
  2. use the verb stem where possible (e.g. /find/ rather than /finding/)
  3. not redirect a user to non-government sites
  4. be based on user need rather than the name of a policy, scheme or service, which might change
  5. include the year when using a short URL for one-off promotion of an annual event such as /events/summer-camp-2020/
  6. have trailing slashes
  7. have valid pages at every level of the URL (see Valid URL parts)

See URL standards for GOV.UK for a more comprehensive list.

Valid URL parts

An example of a confusing URL: /catalogue/ref/E/190/558/15/

This URL implies the following paths should also be valid which is probably not the case:

  • /catalogue/ref/E/190/558/
  • /catalogue/ref/E/190/
  • /catalogue/ref/E/
  • /catalogue/ref/

A better approach here could be: /catalogue/?ref=E/190/558/15 as /catalogue/ is very likely a valid page.