Guidance on the design of URLs on mygov.scot.
This document describes how URLs are used on mygov.scot, their formatting requirements and why short URLs are sometimes created for promotional purposes. This document is forked from Government Digital Service URL Standards.
1. mygov.scot URLs are designed to be naturally user (and SEO) friendly, and to follow a consistent, predictable, format. These guidelines set out how URLs should be constructed, and our approach to setting up additional URLs for marketing purposes.
2. These standards apply to the mygov.scot website and its sub-domains.
3. The style for mygov.scot URLs is that:
4. Trailing slashes should be used when sharing or printing URLs, or when providing third parties with links to mygov.scot content, e.g. use
www.mygov.scot/nice-url-here/ rather than
5. Campaign landing pages do not exist on mygov.scot at the moment. However, once live they will help support digital content for campaign and promotional activity. These URLs will be aligned with the title of the marketing campaign. They should be as short as possible and contain only lowercase a-z characters, e.g.
6. For marketing or promotional activity where a campaign landing page does not exist, then a top level redirect may be requested (see 10).
7. In some situations, even shorter URLs are needed. Some government information and services get promoted offline. Where this is the case, it’s helpful if the URL is especially memorable and easy to say or type. If a URL is going to be read aloud (on the radio or on an automated call centre message) it may make sense to request a redirect. By default, short URLs do not use hyphens.
8. These are redirects which exist at
www.mygov.scot/url/, such as those used for organisation pages. Due to the large amount of content that already exists at the top level of mygov.scot, only a limited number of redirects will be allowed here. Requests will be considered by the mygov.scot performance and experience team on a case-by-case basis and will only be granted if the following conditions are satisfied:
9. A mygov.scot URL must not be used to directly promote any content or service that is not available on the mygov.scot platform. A mygov.scot URL must not be used to redirect a user to a non-mygov.scot URL.
10. The advertised start page of all mygov.scot transactional services will be of the form
www.mygov.scot/service-url/ and must comply with the mygov.scot URL guidelines.
11. The transactional part of the service - the dynamically generated pages where users interact with the service - will not typically be hosted on www.mygov.scot. Rather, this part of the service will exist on a mygov.scot sub-domain of the form servicename.service.mygov.scot.
12. The ‘service name’ part of a URL will be agreed between the mygov.scot team and the service manager, and will conform to the mygov.scot URL guidelines.
13. Dashes may be used to separate words where appropriate, but are not mandatory for service sub-domain URLs.
14. The URL should be a suitable unique identifier for the specific service hosted on the domain. It must not include reference to any (current) policy, scheme or organisation which might change in the future.