Short URL guidance and link to request one for your page

URLs on SF.gov are structured to show users where they are and how they got there. They reassure our users that they are on a single, consistent website. 

URL names prioritize what San Franciscans need from the City, so the shortest URLs are given to services.

URLs use the title of the page, with dashes between words. Small words, like and, the, or are skipped. We add structure to the URL for non-service content. 

Page title

URL

Wear a face covering

https://sf.gov/wear-face-covering

Buy a home with City help

https://sf.gov/step-by-step/buy-home-city-help

MOHCD

https://sf.gov/departments/mayors-office-housing-and-community-development

Standard URLs work well within the site, and we will not change the URL structure of SF.gov for new URL requests. 

The most effective way to get a strong, short URL is to create strong page titles focused on what users are coming to SF.gov to do. http://sf.gov/get-immigration-legal-help is a full URL, but should be short enough to fit on most advertising.

Principles

General guidance

Home

List pages

Department homepages

sf.gov/departments/name-of-department

sf.gov/departments/parent-department/child-department

Department homepages are the pages for any government department, agency or public body.

Department pages are within the /department directory. The full title of the department is turned into the URL. 

Sub-departments are nested within their parent departments.

Short URLs for departments

Departments can have a single short URL. By default, this is the shortest version of the organization’s name in common use (which may be an acronym).

Short URLs for other groups

Other divisions, groups, campaigns, and initiatives may request short URLs only if they need it for public promotional materials. 

The short URLs for groups within parent departments default to including the parent department name or acronym. 

If a sub-department is particularly high-profile, they may have a short URL with only their name, excluding the parent department.

More examples:

Topics

sf.gov/topics/name-of-topic

Topic pages gather transactions, services, policies, departments, news, events related to a theme or “tag”. 

Topic pages are within the /topics directory.  

Services

sf.gov/transaction-name

sf.gov/name-of-transaction/related-resource-name

For MVP, the only service content types we have are transaction start pages and media (ie. PDF forms). Later, we may have other content that is related to a service or a transaction -- explainers, eligibility rules, fee charts, etc. Later later, we will have actual digital services.

Transaction start pages

Transaction start pages come right after the top-level domain, with no subdirectory. The URL uses the name of the service, including the verb. Note that “a” would be removed from “Apply for a cannabis equity permit”

Other types of service-related content

Other service content, such as separate pages for eligibility info, process explainers, media, etc, is added to the base URL.

More examples:

More guidance about URLs on SF.gov