Sub topic 6
Name pages and choose URL slugs
This chapter assumes you have a sitemap with pages grouped under a shallow hierarchy, as covered in the previous chapters. You should also know what a URL is and how a path follows the domain name. Here you will name each page and choose its URL slug. A slug is the last readable part of a URL path, such as web-design in /services/web-design/.
Why names and slugs matter
A page has two names. The label is what visitors read in menus and headings. The slug is what appears in the address bar, in search results, and in links people share. The two should match closely enough that a visitor who sees one can guess the other.
Names are cheap to choose now and expensive to change later. Once a URL is published and linked from other sites, changing it breaks those links unless you set up redirects. Decide on slugs during planning, before design starts.
Choose page names
Use the words your audience uses, not internal terms. Visitors looking for help will search for "web design", not "Digital Solutions Division".
- Prefer plain nouns: Services, Portfolio, About, Contact.
- Make sibling pages parallel. "Web design" and "Maintenance" work together. "Web design" and "How we keep your site running" do not.
- Keep labels short, ideally one to three words, so they fit in a menu.
- Give each page one name and use it everywhere: menu, heading, and links.
Choose URL slugs
Derive each slug from the page name, then apply a few fixed rules.
- Use lowercase letters only. Some servers treat
/About/and/about/as different pages. - Separate words with hyphens, not spaces or underscores. Hyphens are the standard word separator in URLs.
- Drop filler words such as "the", "and", and "of" when the meaning stays clear.
- Avoid dates, version numbers, and file extensions such as
.html. They go stale or lock you to one technology. - Keep slugs short and stable. A slug should still be correct after the page text is rewritten.
Each page's slug builds on its parent's path, so the URL mirrors the sitemap.
Home (/)
├── Services (/services/)
│ ├── Web design (/services/web-design/)
│ └── Maintenance (/services/maintenance/)
├── Portfolio (/portfolio/)
├── About (/about/)
└── Contact (/contact/)Read the tree from the top. The path /services/web-design/ tells a visitor, and a search engine, that the page is a web design page within services. You do not need to repeat "services" inside the child slug. Avoid /services/services-web-design/.
Keep the hierarchy honest
The URL should reflect the sitemap's structure, but only to the depth the sitemap has. A small site rarely needs more than two levels. If you find yourself writing a slug with three or four segments, check whether the page sits too deep in the hierarchy.
Do not put a page under a parent only to make the URL look tidy. If Portfolio items are not part of Services in your sitemap, give them their own branch at /portfolio/.
Worked example: renaming a draft
A draft sitemap for a small bakery used these names and slugs.
| Draft name | Draft slug | Problem |
|---|---|---|
| Our Delicious Products! | `/Our_Delicious_Products!.html` | Mixed case, underscores, punctuation, extension |
| Wedding & Event Cakes 2026 | `/wedding-and-event-cakes-2026/` | Filler word and a year that will go stale |
| Get in touch with the team | `/get-in-touch-with-the-team/` | Long label and long slug |
Applying the rules gives this result.
| Final name | Final slug | Why |
|---|---|---|
| Products | `/products/` | Plain noun, lowercase, no extension |
| Event cakes | `/products/event-cakes/` | Short, no year, sits under its parent |
| Contact | `/contact/` | Matches the label visitors expect |
Common errors
- Renaming after launch without redirects. Old links return "not found" errors. If you must change a slug, add a permanent redirect from the old URL to the new one.
- Different names for the same page. The menu says "Work" while the URL says
/portfolio/. Pick one term. - Slugs full of keywords.
/best-cheap-web-design-services-london/reads as spam and is hard to remember. Describe the page, not the search term you hope to rank for. - Trailing slash inconsistency. Choose either
/about/or/aboutand use it everywhere. Mixing the two can create duplicate URLs.
Exercise
A site has a page labeled "Our Team & Story" at /Our_Team_And_Story.html. Propose a better label and slug, and give two reasons for your changes.
Show answer
Label: "About". Slug: /about/. The label is shorter and uses the term visitors expect. The slug is lowercase, uses no underscores or file extension, and drops filler words, so it is easier to read, share, and keep stable if the page content changes.