Sub topic 6
Name pages and choose URL slugs
This chapter assumes you have a sitemap with a shallow hierarchy, as covered in the previous chapters. You should also know what a URL is and how a path like /services/web-design/ maps to a page. Here you will turn each box in the sitemap into two things: a page name that people read, and a URL slug that machines and people both see.
Why names and slugs need a plan
Every page in your sitemap has at least three names: the label in the navigation, the title at the top of the page, and the slug in the address bar. If these drift apart, visitors lose their sense of where they are. A visitor who clicks "Our Offerings" and lands on a page titled "Services" at /what-we-do/ has to reconcile three different words for one thing.
Naming is also hard to change later. Once a URL is public, other sites link to it, search engines index it, and visitors bookmark it. Changing it means setting up redirects and accepting some risk. Deciding slugs during planning is cheaper than fixing them after launch.
A few terms used in this chapter:
- A slug is the part of a URL that identifies one page or section, for example
web-designin/services/web-design/. - A path is the full sequence of slugs after the domain, for example
/services/web-design/. - A label is the text shown for a page in navigation.
- A page title is the main heading (the
h1) shown on the page itself.
Choosing page names
A page name should describe what the visitor will find, using words the visitor would use. Start from the content inventory and the user tasks you already wrote, not from internal jargon.
Prefer plain, expected words
For common page types, conventional names work best because visitors already know where to look. "About", "Contact", "Services", and "Portfolio" are understood without thought. Clever names ("Our Story", "Let's Talk", "What We Do") can work in a brand voice, but they cost the visitor a moment of interpretation, and that cost adds up in navigation.
| Instead of | Prefer | Reason |
|---|---|---|
| Our Offerings | Services | Matches what visitors search for and expect |
| Let's Connect | Contact | Predictable location and meaning |
| Solutions | Web design | Names the actual thing being sold |
| Resources | Guides | Says what type of content is inside |
| Misc | (split or merge the content) | A vague bucket signals unclear grouping |
Name by content, not by organization
Visitors do not care how your company is organized. A page called "Department of Client Engagement" is named for the org chart. "Maintenance" is named for what the visitor gets. When you catch yourself using internal terms, return to the audience and task list and ask what the visitor would call this.
Keep one term per concept
If the sitemap says "Portfolio", do not call the same content "Our Work" in the footer and "Case Studies" in the page heading. Pick one term and use it in the label, the page title, and the slug. Different pages may legitimately use different words, but one page should have one name.
Keep sibling names parallel
Pages at the same level should read as a set. "Web design" and "Maintenance" are both nouns naming a service. "Web design", "We fix sites", and "Pricing?" are not parallel, and the mix makes the group harder to scan.
What makes a good slug
A slug is a small piece of text with a lot of constraints. A good slug follows these rules:
- Lowercase only. Paths on many servers are case-sensitive, so
/About/and/about/can be two different addresses. Lowercase everywhere avoids duplicates and broken links. - Hyphens between words. Use
web-design, notweb_designorwebdesign. Hyphens are easy to read and are the common convention for word separation in URLs. - Letters, numbers, and hyphens only. Avoid spaces, which become
%20. Avoid accents, ampersands, and punctuation, which need percent-encoding or cause ambiguity. - Short and descriptive. Aim for one to three words that match the page name. Drop filler such as "the", "and", and "of" unless the slug becomes unclear without them.
- Stable. Do not include dates, version numbers, or status words like
newor2026unless the content is truly tied to them. - Human-readable. A person should be able to guess the page from the URL alone.
Slugs mirror the hierarchy
The path should reflect where the page sits in the sitemap. The sitemap from earlier chapters gives these paths:
Home (/)
├── Services (/services/)
│ ├── Web design (/services/web-design/)
│ └── Maintenance (/services/maintenance/)
├── Portfolio (/portfolio/)
├── About (/about/)
└── Contact (/contact/)Each child's path begins with its parent's path. A visitor who sees /services/maintenance/ can tell, without any other cue, that the page belongs to Services. They can also try removing the last segment to move up one level, so the parent page should exist and make sense on its own.
Because the sitemap stays within two levels, no path here has more than two segments. Keep it that way. A path such as /services/web/design/small-business/ suggests the hierarchy has grown too deep, and the fix is in the sitemap, not in the slug.
Do not repeat the parent in the child slug
/services/web-design/ is better than /services/services-web-design/. The parent segment already provides the context. Repeating it makes the URL longer without adding meaning.
Name the thing, not the format
Avoid file extensions such as .html or .php in public paths. They expose implementation details and force a URL change if the technology changes. If your host serves about.html, configure it to also answer at /about/, or use a static site generator that creates /about/index.html and serves it at /about/.
Trailing slashes and consistency
Both /services and /services/ are common. They are technically different URLs, and some servers treat them as separate pages. Choose one form for the whole site and apply it everywhere: in navigation links, in internal links, and in the sitemap. The examples in this tutorial use a trailing slash for pages that have children or are served as folders.
The important part is consistency. If both forms load without redirecting, search engines may see two copies of the same page. Configure the server to redirect one form to the other, and record the decision in your plan so the developer does not have to guess.
A worked example
Suppose a small business plans these pages. The first draft of names and slugs came from a quick brainstorm:
| Draft label | Draft slug | Problem |
|---|---|---|
| Our Offerings | `/Our_Offerings` | Mixed case, underscore, unexpected word |
| Web Design & Dev | `/services/Web%20Design%20&%20Dev` | Spaces and ampersand encoded; two ideas in one page |
| Maintenance Plans 2026 | `/maintenance-plans-2026` | Date will go stale; not under Services |
| Work | `/work/featured/all` | Vague label; path deeper than the content needs |
| Get in touch!! | `/get-in-touch!!` | Punctuation in the slug |
After applying the rules, the revised plan is:
| Label | Page title | Slug |
|---|---|---|
| Services | Services | `/services/` |
| Web design | Web design | `/services/web-design/` |
| Maintenance | Maintenance plans | `/services/maintenance/` |
| Portfolio | Portfolio | `/portfolio/` |
| Contact | Contact us | `/contact/` |
Notice that the label and slug agree exactly, and the page title may expand slightly ("Maintenance plans") when a longer heading reads better on the page. That is acceptable as long as the label and slug still point to the same concept.
Record the decisions
Put names and slugs in one place so every later step uses the same values. The page brief you build in a later chapter will carry the page and url fields. A short naming table in the plan is enough:
pages:
- label: Services
title: Services
url: /services/
- label: Web design
title: Web design
url: /services/web-design/
- label: Maintenance
title: Maintenance plans
url: /services/maintenance/
- label: Portfolio
title: Portfolio
url: /portfolio/
- label: Contact
title: Contact us
url: /contact/This file is the single source of truth. The navigation, the page briefs, and the XML sitemap should all read from these values rather than retyping them.
Edge cases
- The home page. Its path is
/. Do not create/home/, which would duplicate it. - Pages with the same name under different parents. Slugs only need to be unique among siblings.
/services/pricing/and/maintenance/pricing/can coexist, though the page titles should then say which pricing they cover. - Non-English content. If your audience reads another language, decide whether slugs stay in ASCII (transliterated) or use native characters. Native characters are valid but are percent-encoded when copied, which makes them awkward to share. Pick one policy and apply it everywhere.
- Renaming later. If a slug must change, keep the old URL working by redirecting it permanently (HTTP 301) to the new one. Track the change so internal links are updated rather than left to redirect.
- Utility pages. Pages such as privacy policy and terms follow the same rules (
/privacy/,/terms/) even though they sit in the footer instead of the main navigation. - Query strings and IDs. Avoid slugs like
/page?id=12. They tell the visitor nothing and are hard to remember. If your tool generates them, look for a setting that creates readable paths.
Relationship to the XML sitemap
The URLs you choose here are the ones that appear in the XML sitemap, which is a separate file for search engines described in the final chapter. Choosing the canonical form now, including the trailing slash decision and the lowercase rule, means the XML file can be generated without corrections.
Decision flow
The diagram shows the order of decisions for each page.
Common errors
- Naming pages after internal teams or products the visitor has never heard of.
- Using different words for the same page in navigation, heading, and URL.
- Letting slugs include dates or "new" and "old" markers.
- Mixing trailing-slash and no-trailing-slash links across the site.
- Making paths deeper than the sitemap, which hides a hierarchy problem.
- Leaving the slug decision to the developer, who then chooses from whatever the content system generates.
Exercise
A draft sitemap lists a page labeled "Our Awesome Cleaning Packages 2026" with the slug /Cleaning_Packages_2026/, placed under a parent page "Services" at /services/. Rewrite the label and the full path so they follow the rules in this chapter, and give two reasons for your changes.
Show answer
Label: "Cleaning packages" (or simply "Cleaning"). Path: /services/cleaning-packages/. Reasons: the original slug mixes upper and lower case and uses underscores, while slugs should be lowercase with hyphens; it also contains a year that will go stale and force a redirect. The path should also sit under its parent, so it begins with /services/. The label drops the promotional word "Awesome" and uses the visitor's plain term.
Exercise
Your site serves both /contact and /contact/ with the same content, and your navigation links to one while the footer links to the other. What problem can this cause, and what should you do?
Show answer
Search engines and analytics may treat the two addresses as separate pages, which splits traffic and creates duplicate content. Choose one form for the whole site, update all internal links to use it, configure the server to redirect the other form to it, and write the decision in the plan so the XML sitemap uses the same form.