www resolution
One domain works with www and non-www.
Link copied!
On this page
Indicators
Impact
(How ScanGov measures tasklist priorities.)
About
Domain canonicalization allows access to the intended website address, whether users type www (www.example.gov) or not (example.gov). Improper canonicalization will fail to direct example.gov to the intended address, and users will receive an error.
Why it's important
Ensures consistent site display whether users type with or without 'www,' preventing errors and improving overall accessibility.
User stories
As a site visitor, I want to access the website using either www or non-www URLs and be automatically redirected to the correct version so that I don't encounter errors or duplicate content.
Error
(ScanGov messaging when a site fails a standard)
www and non-www versions are inconsistent.
Examples
Example of a government website with www and non-www resolution:
Guidance
Related
- Page title
- Page description
- Readability
- Viewport meta tag
- www resolution
- Cumulative Layout Shift (CLS)
- First Contentful Paint (FCP)
- Interaction to Next Paint (INP)
- Largest Contentful Paint (LCP)
- Time to First Byte (TTFB)
- Open Graph site name
- Open Graph type
- Open Graph title
- Open Graph description
- Open Graph URL
- Open Graph image
- Open Graph image alt
On this page