Sub topic 10
URL Paths and Site Structure for Clusters
This chapter covers how to choose URL paths for a pillar page and its cluster pages, and how the site structure signals the hub-and-spoke hierarchy to visitors and crawlers. It assumes you already know what a pillar page and a cluster page are, how internal links connect them, and that you can read simple HTML and edit URLs in your CMS (content management system).
Why URL structure matters for a cluster
A URL (uniform resource locator) is the address of a page. In a topic cluster, URLs do three jobs:
- They tell a visitor where they are before the page loads. A path like
/guides/email-marketing/subject-lines/reads as "a page about subject lines inside the email marketing guide". - They give crawlers one more hint about how pages relate. The hint is weak. Links, headings and content carry far more weight, so treat the URL as supporting evidence and not as a ranking lever.
- They affect how easy the site is to maintain. A predictable pattern makes it simple to audit a cluster, filter analytics by section, and spot pages that are missing.
A URL path is the part after the domain name. In https://example.com/guides/email-marketing/subject-lines/, the domain is example.com and the path is /guides/email-marketing/subject-lines/. Each part between slashes is a segment.
Two common patterns
You have two main options. Both can work. The mistake is mixing them or changing from one to the other without a plan.
Pattern 1: nested paths
Cluster pages sit under the pillar page's path.
| Page role | URL |
|---|---|
| Pillar | `/guides/email-marketing/` |
| Cluster | `/guides/email-marketing/subject-lines/` |
| Cluster | `/guides/email-marketing/list-segmentation/` |
| Cluster | `/guides/email-marketing/deliverability/` |
Strengths:
- The hierarchy is visible in the address.
- Analytics tools can filter by path prefix, so
/guides/email-marketing/selects the whole cluster in one step. - Breadcrumbs (a trail of links such as Home > Email Marketing Guide > Subject Lines) map directly onto the path.
Weaknesses:
- Moving a cluster page to a different pillar changes its URL, which means a redirect.
- If a subtopic belongs in two clusters, a nested path forces you to pick one.
- Paths get long if you nest more than two levels.
Pattern 2: flat paths
Cluster pages live at a single level, usually under a shared section such as /blog/.
| Page role | URL |
|---|---|
| Pillar | `/guides/email-marketing/` |
| Cluster | `/blog/email-subject-lines/` |
| Cluster | `/blog/email-list-segmentation/` |
| Cluster | `/blog/email-deliverability/` |
Strengths:
- URLs stay stable when you reorganize clusters, because the path does not encode the parent.
- A page can serve more than one pillar through links without any URL conflict.
- It suits sites where posts are published over time and grouped by tag or category later.
Weaknesses:
- The path says nothing about the cluster, so you need a naming convention (such as a shared keyword in the slug) and link structure to show the relationship.
- Filtering analytics by cluster needs a custom grouping, a tag, or a list of URLs.
The two code examples in this tutorial's earlier chapters use both patterns: the pillar-page example links to /blog/email-subject-lines/ (flat), while the breadcrumb example in this chapter's later section uses /guides/email-marketing/subject-lines/ (nested). Either is acceptable. What matters is that each site picks one rule.
How to choose
| Question | Leans toward nested | Leans toward flat |
|---|---|---|
| Will clusters be reorganized often? | No | Yes |
| Does each page belong to exactly one pillar? | Yes | No |
| Do you need cluster-level analytics from the URL alone? | Yes | No |
| Is the site a blog with a long publishing history? | No | Yes |
| Is the site new, so you can set the rule from the start? | Yes | Either |
If you already have hundreds of flat URLs that rank, do not move them into nested paths only for tidiness. A migration costs redirects, link updates and a temporary ranking risk, and the gain is small.
Writing good slugs
A slug is the last segment of a URL, the part that identifies the page. Follow these rules:
- Use lowercase letters, numbers and hyphens. Hyphens separate words. Avoid underscores, spaces and uppercase letters, because paths are case-sensitive on many servers, so
/Subject-Lines/and/subject-lines/can be two different addresses. - Include the main topic words and drop filler such as "a", "the" and "and" when the slug stays readable.
- Keep the slug stable. Write it for the long term, so leave out years, counts and dates (
/best-email-tools-2024/) unless the page is truly tied to that year. A refresh then does not require a new URL. - Do not repeat the parent. In a nested path,
/guides/email-marketing/email-subject-lines/repeats "email". Use/guides/email-marketing/subject-lines/. - Avoid query strings and IDs for content pages. A path like
/post?id=482tells nobody anything. - Keep it short. Three to five words is usually enough.
Depth and crawl paths
Click depth is the number of clicks needed to reach a page from the home page. Pages that sit many clicks away are crawled less often and get less internal link value. A cluster helps here, because the pillar page is linked from the main navigation and every cluster page is linked from the pillar.
In this layout every cluster page is two clicks from the home page. A good target is to keep important pages within three clicks. Long URL paths do not make a page deep. Depth comes from links, so a page at /a/b/c/d/ can still be one click from the home page if the home page links to it.
Matching URLs to your link map
Your URL plan and your link plan should agree. If the pillar is at /guides/email-marketing/, then every cluster page needs a link back to exactly that address. A frequent error is linking to a version that differs by a trailing slash, by http versus https, or by www. Each variant is a separate URL that must redirect to the canonical one.
The script below checks a list of internal link targets against a set of canonical URLs and reports links that point to a non-canonical form. It runs as shown.
canonical = {
"/guides/email-marketing/",
"/guides/email-marketing/subject-lines/",
"/guides/email-marketing/list-segmentation/",
}
link_targets = [
"/guides/email-marketing/",
"/guides/email-marketing/subject-lines",
"/Guides/Email-Marketing/list-segmentation/",
]
def normalize(url):
url = url.lower()
if not url.endswith("/"):
url += "/"
return url
for target in link_targets:
if target in canonical:
continue
fixed = normalize(target)
if fixed in canonical:
print(f"{target} should be linked as {fixed}")
else:
print(f"{target} matches no known page")With this data it prints two lines: the missing trailing slash on subject-lines, and the capitalized path. The fix is to link to the canonical form, and to redirect the variants on the server.
Trailing slashes, redirects and canonical tags
Choose one rule for trailing slashes and apply it everywhere. Then use these tools to enforce it:
- A 301 redirect is a permanent redirect. Use it when a URL changes, so visitors and crawlers move to the new address and most of the old page's signals follow.
- A canonical tag is a line in the page head that names the preferred URL:
<link rel="canonical" href="https://example.com/guides/email-marketing/">. It helps when the same content is reachable at more than one address, such as with tracking parameters. - Avoid redirect chains, where A goes to B and B goes to C. Redirect A straight to C, and update internal links so they point to the final URL and never rely on a redirect.
A redirect is a safety net, not a substitute for correct internal links.
Section hubs and navigation
The pillar page should be reachable from the main navigation, a footer, or a hub page that lists all pillars. Do not hide pillars behind search boxes or filters, because crawlers do not use them.
Keep category and tag archives under control. A CMS may create pages such as /tag/email/ that list the same posts as your pillar page and compete with it. Either leave thin archives out of the index with a noindex tag or make sure they add something the pillar does not.
Breadcrumbs reflect the structure
Breadcrumbs are visible links that show the path from the home page to the current page. They are most useful when the path of the page and the trail match. For nested URLs the trail follows the path. For flat URLs the trail still names the pillar, even though the pillar is not in the URL.
For a flat page at /blog/email-subject-lines/, the breadcrumb is Home > Email Marketing Guide > Email Subject Lines. The link to the pillar is in the trail, so the hierarchy is visible even though the address is flat. The next chapter covers the structured data that describes this trail to search engines.
Common errors
- Mixing patterns inside one cluster, so some pages are nested and others are flat.
- Changing slugs during a refresh without a 301 redirect.
- Keeping the old URL live next to the new one, which creates duplicate content.
- Including dates in slugs for evergreen content.
- Nesting four or five levels deep when two would do.
- Linking internally to redirected or non-canonical URLs.
- Letting the CMS generate several paths for one page, such as
/category/email/subject-lines/and/blog/subject-lines/.
Summary of decisions
Make these decisions once for the whole site, and write them down:
- Nested or flat cluster URLs.
- Trailing slash or no trailing slash.
- A slug style: lowercase, hyphens, no dates, no repeated parent words.
- How breadcrumbs are built for each pattern.
- Who approves any URL change, and how redirects are recorded.
Exercise
A site has a pillar page at /guides/running/ and a cluster page at /blog/Running-Shoes-2023/. Name three problems with the cluster URL, and give a better URL if the site uses nested paths.
Show answer
The URL has uppercase letters, which can create a duplicate address on case-sensitive servers. It includes a year, so a refresh would either leave an outdated URL or force a redirect. It sits under /blog/ while the pillar is under /guides/, so it does not follow a nested pattern. A better nested URL is /guides/running/shoes/. The old address should get a 301 redirect to the new one, and internal links should be updated to point to it directly.
Exercise
You run a blog with 300 flat URLs that already rank. A colleague proposes moving all of them into nested paths under their pillars. What do you recommend, and why?
Show answer
Keep the flat URLs. The move needs 300 redirects, many link updates and carries a temporary ranking risk, while the benefit of nested paths is small. Show the hierarchy with links to the pillar, breadcrumbs and a shared naming convention. Use nested paths for new clusters if you want them, and document that older clusters use the flat pattern.