Sub topic 5
Draw the sitemap
This chapter assumes you have already written the site's purpose, identified its audiences and their tasks, and made a content inventory. It also assumes you have grouped that inventory into labeled clusters. Here you turn those clusters into a sitemap: a diagram of every page on the site, showing which pages sit under which.
What a sitemap is for
A sitemap, in the planning sense, is a hierarchical map of the pages a site will contain. It answers three questions:
- Which pages exist?
- Which page is the parent of which?
- Where does each page sit relative to the home page?
The sitemap is the first artifact that a designer, developer, and client can all look at and agree on. It is cheap to change. Moving a box takes seconds, while moving a built section means rewriting navigation, links, and redirects.
Do not confuse it with the XML sitemap that search engines read. That file lists URLs for crawlers and is covered in a later chapter. The planning sitemap is for people, and it contains decisions that never appear in the XML file, such as which pages are grouped together and why.
Start from the inventory, not from a template
A common mistake is to begin with a familiar list (Home, About, Services, Blog, Contact) and fit the business into it. Begin instead with your grouped inventory. Each group becomes a candidate section, and each item in a group becomes a candidate page.
Take a small web design studio. Its inventory groups might be:
- Offerings: web design, maintenance, pricing notes
- Proof: case studies, client logos, testimonials
- Company: team story, process, contact details
From these groups, a first draft emerges. "Offerings" becomes Services, with one page per offering. "Proof" becomes Portfolio. "Company" splits into About and Contact, because visitors have a different task for each (learning who you are versus reaching you).
Decide what is a page and what is a section
Not every piece of content deserves its own page. Use these tests, and apply them to each candidate.
| Test | Make it a separate page when | Keep it as a section when |
|---|---|---|
| Task | A visitor would look for it on its own | It only supports another page's task |
| Size | It needs more than a screen or two of content | It is a few sentences |
| Sharing | People will link to it or search for it directly | Nobody would link to it alone |
| Goal | It has a distinct goal and call to action | It shares the goal of the parent page |
Testimonials are a good example. For a small studio with six testimonials, a section on the Portfolio page works better than a page of its own. A thin page with little content is harder to maintain and weaker for visitors than a strong section on a page that already has traffic.
Keep the hierarchy shallow
Hierarchy depth is the number of levels between the home page and the deepest page. For a small site, aim for two levels below Home: sections, then the pages inside them. Three levels is the upper limit, and you should need a clear reason for it.
Shallow structures have practical advantages:
- Visitors reach any page in two or three clicks.
- Navigation menus stay short enough to scan.
- URLs stay short and readable.
- Maintenance is simpler because there are fewer parent pages to keep consistent.
Breadth has a cost too. If Home links to twenty top-level pages, the menu becomes a wall of choices. A rough working range is five to seven top-level items. If you have more, merge related ones into a section. If you have far fewer, check that you have not hidden important content inside another page.
Draw the first version
Use the simplest tool that works: paper, a whiteboard, sticky notes, or a plain text outline. Text trees are fast to edit, easy to put in a repository or a document, and readable by everyone.
Home (/)
├── Services (/services/)
│ ├── Web design (/services/web-design/)
│ └── Maintenance (/services/maintenance/)
├── Portfolio (/portfolio/)
├── About (/about/)
└── Contact (/contact/)This sitemap has one home page, four top-level pages, and two child pages. It has two levels below Home at most. Each box is a real page, and each indentation means "is a child of". Notice that every page already has a URL path next to it. The next chapter covers how to choose those names. For now, write a rough slug so that the tree and the future address structure stay in step.
You can draw the same structure as a diagram when you need to present it to a client:
Choose a grouping logic and stay with it
Siblings under one parent should be grouped by the same principle. Mixed principles confuse visitors. These are the common ones:
- By topic or offering. Web design, Maintenance. This works when visitors know what they want.
- By audience. For Individuals, For Businesses. This works only when audiences have truly different needs and would not want to read each other's pages.
- By task. Get a quote, Learn about us. Useful for service sites, but labels can become vague.
- By format. Blog, Videos, Downloads. Use this sparingly. Visitors seldom care about the format before the topic.
A broken example: a Services section that contains "Web design", "For nonprofits", and "Videos". The first is a topic, the second an audience, and the third a format. A visitor cannot predict where something belongs, so they open several pages to find it.
Handle pages that do not fit the tree
Some pages belong to the site but not to any section. Record them in the sitemap anyway, so they are not forgotten during the build.
- Utility pages, such as Privacy policy, Terms, and Accessibility statement. Place them in a separate "Footer / utility" group.
- Confirmation pages, such as "Thank you" after a form submission. They have a URL but no menu entry.
- Error pages, such as the 404 "Page not found" page. List it, because it needs a design and useful links back into the site.
- Pages reachable from several places, such as a pricing page linked from both Services and Contact. A page lives in one place in the hierarchy. Other places link to it. Do not duplicate it in the tree.
A simple convention is to mark these in the outline:
Home (/)
├── Services (/services/)
│ ├── Web design (/services/web-design/)
│ └── Maintenance (/services/maintenance/)
├── Portfolio (/portfolio/)
├── About (/about/)
└── Contact (/contact/)
└── Thank you (/contact/thank-you/) [no menu entry]
Utility
├── Privacy policy (/privacy/)
└── Accessibility (/accessibility/)
System
└── Page not found (404)Common problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| A section has only one child page | The section is unnecessary | Merge the child into the parent, or add the missing sibling if one is genuinely needed |
| A section has more than about eight children | Grouping is too coarse | Split into two sections, or promote one child to the top level |
| Two pages cover the same task | Overlap in the inventory | Merge them, or sharpen the goal of each |
| Nobody can say where a page belongs | The page has no clear task | Return to the audience tasks, then decide whether the page is needed |
| A page appears in two places in the tree | Duplicated placement | Choose one parent and link to it from the other place |
| Page labels use internal jargon | Names came from staff vocabulary | Rename using the words visitors use |
The "one child" case deserves attention. Suppose Services contained only Web design. A visitor clicking Services would land on a page that leads straight to one more page. Either fold Web design into the Services page itself, or confirm that a second service will be added soon.
Review the sitemap before moving on
Run these checks on the draft:
- Every page traces back to a task or goal from the earlier chapters. If a page has no reason to exist, remove it.
- Every important task from your audience list has a page that supports it.
- No branch is deeper than three levels below Home, and most are two.
- Top-level items number roughly five to seven.
- Siblings follow one grouping principle.
- Utility, confirmation, and error pages are recorded.
- A person outside the project can look at the labels and guess what each page contains.
The last check is the most revealing. Show the tree to someone who does not know the business and ask where they would look to find a price, to see past work, or to book a call. Hesitation tells you which label or placement needs work.
What the sitemap does not decide
A sitemap fixes structure. It does not set the final wording of page names, the exact URL slugs, the content of each page, or the order and style of the navigation menu. Those are the subjects of the chapters that follow. Treat the sitemap as a stable skeleton that the later decisions attach to, and expect small revisions as you write page goals and test the plan against user tasks.
Exercise
A florist's inventory groups are: wedding flowers, funeral flowers, weekly subscriptions, delivery areas, opening hours and address, and customer photos. Draw a text sitemap with at most two levels below Home, decide which items should be sections of a page rather than separate pages, and name one problem to check for in your draft.
Show answer
One valid answer: Home (/); Flowers (/flowers/) with children Weddings (/flowers/weddings/), Funerals (/flowers/funerals/), and Subscriptions (/flowers/subscriptions/); Delivery (/delivery/); Gallery (/gallery/); Contact (/contact/) with the address and opening hours as sections on that page. Opening hours and address stay on Contact because they have no separate task and only a few lines of content. Customer photos could be a Gallery page or a section on Flowers pages. Problems to check include a section with a single child (if Flowers had only Weddings), mixed grouping logic among siblings, and the need to list utility pages such as Privacy policy and the 404 page.
Exercise
A draft sitemap has a Services section containing the pages "Web design", "For nonprofits", and "Video tutorials". Explain what is wrong and propose a fix.
Show answer
The siblings mix three grouping principles: topic (Web design), audience (For nonprofits), and format (Video tutorials). Visitors cannot predict where content lives. The fix is to pick one principle for the section. For a services section, topic works best: Web design, Maintenance, and so on. Nonprofit information becomes content or an example inside those pages, or a portfolio filter. Video tutorials move to a Resources section or become embedded content on the relevant service page.