A sitemap lists all the pages on a website on a single page. Its purpose may seem simple, but the way it is organized determines whether it genuinely helps visitors or simply reproduces an internal organizational chart that no one understands.
WCAG 2.2’s “Multiple Ways” criterion (Success Criterion 2.4.5) also requires offering several ways to locate a page, such as a menu and a sitemap, or a search function and a sitemap. A sitemap is therefore not a substitute for primary navigation: it is a complementary safety net whose effectiveness depends entirely on its structure.
Visitor-focused vs. business-focused sitemaps: what changes
| Criterion | Internally focused sitemap | Visitor-focused sitemap |
|---|---|---|
| Section names | Uses department names (“Technical Department,” “Innovation Division”) | Uses terms visitors search for (“Get an online quote,” “Track an order”) |
| Depth | Reproduces every level of the hierarchy, even when it contains no useful content | Limits depth to pages that match a search intent |
| Display order | Follows alphabetical order or department order | Places the most requested pages at the top |
| Categories vs. filters | Creates a category for every attribute (color, size, year) | Reserves categories for product types and treats attributes as filters |
This distinction between categories and filters comes from Baymard Institute research on product navigation: creating a separate category for every feature clutters the sitemap without helping users find what they’re looking for. On By Julie’s sitemap, sections reflect clear intentions (jewelry, accessories, collections) rather than back-office logic.
An internally focused sitemap reassures internal teams. A visitor-focused sitemap reduces the number of clicks needed to reach a useful page. The two structures rarely coexist without friction, so the latter deserves priority.

Test the site structure before publishing: tree testing
Finalizing a sitemap without testing it with real users is like drawing a map without checking whether it leads anywhere. Tree testing, a method documented by the Nielsen Norman Group, involves presenting the site structure as plain text (without design or colors) and asking participants to find specific content.
What tree testing reveals
- Ambiguous categories where participants hesitate between two paths, indicating that the labels don’t match their expectations
- Orphan pages that no one can find because they’re placed somewhere counterintuitive
- Unnecessary depth that lengthens the journey without adding any further clarity
Identifying ambiguous categories before coding the navigation helps avoid costly redesigns. The test can be run with around ten participants using a dedicated tool, without a visual prototype. The results show a success rate for each task and a direct-choice rate (whether participants found the right answer on their first try), helping teams prioritize fixes.
This method works just as well for a 20-page brochure website as for an e-commerce site with thousands of products. A sitemap’s structure is only valuable if it reflects real user journeys, not the project team’s assumptions about how the site should work.
Consistent navigation across pages: an often-overlooked criterion
WCAG 2.2 Success Criterion 3.2.3 requires that repeated navigation mechanisms maintain the same relative order from page to page, unless the user initiates a change. A main menu that rearranges its items depending on the section being viewed, or a footer whose links change position, can disorient visitors even when a well-designed sitemap is available.
How to check consistency in practice
Open three pages from different sections of the site and compare the order of the main menu items to spot the most obvious inconsistencies. On mobile, the problem gets worse: hiding the menu behind a hamburger icon makes sections harder to discover, as the Nielsen Norman Group documented back in 2016. A hidden menu on desktop makes sections harder to discover than on mobile, where users have grown accustomed to this interface pattern.
A sitemap can partly make up for this lack of visibility, provided its section names exactly match those in the menu. A visitor who sees “Our Work” in the menu and “Portfolio” on the sitemap won’t automatically realize they refer to the same thing.

XML sitemap structure and search engine readability
An HTML sitemap is for visitors. An XML sitemap is for search engines. Yet both share the same goal: every listed URL should point to a useful, accessible page. An XML sitemap that lists pages returning 404 errors, duplicates, or filter pages (red-color, size-M) sends noise to Google.
Best practices for a clean XML sitemap
- List only canonical URLs—the ones with a rel=”canonical” tag pointing to themselves
- Exclude pagination pages, internal search results, and pages with multiple filters
- Update the last-modified date only when the content has actually changed, not with every technical deployment
- Split the sitemap by content type (articles, products, static pages) to make troubleshooting in Google Search Console easier
A well-structured XML sitemap helps search engine crawlers explore a site. But it doesn’t replace coherent internal linking: a page missing from both the menu and the HTML sitemap remains difficult for visitors to find, even if search engines know about it.
Whether HTML or XML, a sitemap works when it reflects the journeys visitors actually take. Testing the site structure, keeping labels consistent between the menu and sitemap, and distinguishing categories from filters are three practical steps that turn a simple list of links into a navigation tool. Everything else—colors, typography, animations—comes later.



