In short
Organizing pages by topic and hierarchy means arranging the site like a tree: the home page, a few main sections, subsections, then the detail pages. Each page has one parent section and a single primary place. The deliverable is a site tree plan in a spreadsheet, which you then turn into menus, section pages, breadcrumbs and internal links.
Why it matters
Search engines do not read your org chart: they follow links. In its documentation on e-commerce site structure, Google explains that it relies on navigation (menus, links between pages) to understand a site's structure, and that it takes into account the number of links pointing to a page and the number of links needed to reach it to estimate its relative importance. It also states that it generally does not look at URL structure to infer the structure of the site.
The consequence: for a search engine, a hierarchy only exists if it is expressed through links. A “Green tea” section that has no page of its own, or whose page does not link to its products, is just a word in a menu.
Without a clear organization, three problems appear:
- similar pages compete with each other because nothing says which one owns the topic;
- important pages end up far from the home page, or with no link at all;
- visitors do not know where to look, so they use the internal search, or leave.
On large sites, grouping by directory has an additional effect, documented in Google's SEO Starter Guide: putting similar pages in the same folder helps Google learn how often each section is updated.
On the generative engine side, Google states that AI Overviews and AI Mode can run several searches on subtopics to build an answer (“query fan-out”). A site where each subtopic has its own page, filed under the right section, offers passages that are easier to find and attribute. No organization guarantees a citation.
What it improves
- Crawling Each page is linked to its section, so it is discovered and recrawled more easily.
- Understanding of the site Section pages and links tell search engines which pages belong together.
- Cannibalization One place per topic limits duplicates. See detect keyword cannibalization (opens in a new tab).
- Sitelinks Google generates them automatically and recommends a logical structure; a possible effect, not a guaranteed one.
- Visitor journey Fewer wasted clicks, less reliance on internal search.
- Rankings An indirect effect, through the flow of internal links and clearer section pages.
- Citations in AI answers A plausible effect through better-defined pages, not proven.
How to check
Answer these six questions in twenty minutes:
- Can you draw the site tree on one page, with fewer than ten sections at the first level?
- Does each section have a page that introduces the topic and links to its subpages?
- Does each detail page have an obvious parent section?
- Do two sections overlap (“Tips” and “Blog”, “Solutions” and “Services”)?
- Do the section labels use the words your customers use, or your internal jargon?
- Are strategic pages no more than three clicks from the home page? See limit the click depth of strategic pages (opens in a new tab).
Tool-based check: crawl the site with Screaming Frog (free up to 500 URLs). The Site Structure tab and the tree visualizations (Visualisations menu) show how URLs are distributed by directory and by depth. Without a crawler, get the list of URLs from the sitemap and count them by first segment with the formula from step 1.
A compliant organization looks like this: a few sections at the first level, indexable and useful section pages, no pages “outside the tree” and labels that make sense without knowing the company.
How to implement
The examples follow the site's three fictional companies: Plomberie Garnier (a plumbing and heating contractor in Nantes), Thé des Lisières (an online shop selling loose-leaf teas) and Planifia (field service scheduling software for maintenance SMBs).
Step 1 — Take stock of your pages
Gather all indexable URLs in an Inventaire tab, from a crawl, the sitemap or a CMS export. Add a column that extracts the first segment of the path, to see how the site is organized today (Google Sheets):
First URL segment (A2 = full URL):
=IFERROR(REGEXEXTRACT(A2,"^https?://[^/]+/([^/?#]+)"),"(home)")
Number of pages per segment (segment in E2):
=COUNTIF($B$2:$B,E2)
A pivot table on column B gives the same result. Segments containing only one or two pages, or several hundred, point to poorly divided sections.
Step 2 — Group pages by topic
Start from the keyword-to-page map (opens in a new tab) and the topic clusters (opens in a new tab) if you have them. Otherwise, group pages based on what customers search for: product families, services, problems to solve, customer profiles.
To settle labels and groupings, run a card sort: give five to ten customers or customer-facing colleagues about thirty cards, each bearing the name of a page, and ask them to group the cards and then name the groups. On paper, it costs nothing; OptimalSort automates it online.
Decision criteria:
| Question | If yes | If no |
|---|---|---|
| Does the group match a real search (volume, customer requests)? | It deserves an indexable section page | Merge it into a neighboring section |
| Does it contain at least three or four detail pages? | Section or subsection | Leave the pages in the parent section |
| Do all visitors name it the same way? | Keep their word as the label | Test two labels (step 6) |
| Could a page fit in two groups? | Choose one primary place, link from the other | Nothing to do |
These thresholds are rules of thumb from practice, not search engine rules.
Step 3 — Choose the breadth and depth
| Site size | Recommended structure |
|---|---|
| Fewer than 30 pages (tradesperson, brochure site) | A single level below the home page: services, past projects, service area, contact |
| 30 to 500 pages | Two levels: sections, then detail pages |
| Catalog or knowledge base with thousands of pages | Three levels of sections at most, complemented by filters and cross-links |
Prefer a broad, shallow tree: six sections of ten subpages are better than a chain of five levels. Beyond three levels of sections, add shortcuts (link blocks, curated selection pages) rather than new levels.
Step 4 — Write the site tree plan
Create an Arborescence tab, one row per page:
| A · ID | B · Level | C · Parent (ID) | D · Label | E · Target URL | F · Type | G · Main keyword | H · In the menu | I · Status |
|---|---|---|---|---|---|---|---|---|
| 1 | 0 | – | Home | / |
Home | thé en vrac | – | Existing |
| 2 | 1 | 1 | Thé vert | /the-vert/ |
Section | thé vert en vrac | Yes, level 1 | Existing |
| 3 | 2 | 2 | Sencha | /the-vert/sencha/ |
Subsection | thé sencha | Yes, level 2 | To create |
| 4 | 3 | 3 | Sencha Kagoshima bio | /produits/sencha-kagoshima-bio/ |
Product | – | No | Existing |
| 5 | 1 | 1 | Guides | /guides/ |
Section | – | Yes, level 1 | Existing |
| 6 | 2 | 5 | Choisir son thé vert | /guides/choisir-the-vert/ |
Guide | meilleur thé vert | No | To create |
| 7 | 1 | 1 | Chaudière | /chaudiere/ |
Section | chaudière nantes | Yes, level 1 | Existing |
Rows 1 to 6 follow Thé des Lisières, row 7 Plomberie Garnier; the values are fictional. Two useful checks:
Parent not found (C2 = parent ID):
=IF(AND(C2<>"–",COUNTIF($A:$A,C2)=0),"Unknown parent","")
Section with no child (A2 = ID, F2 = type):
=IF(AND(F2="Section",COUNTIF($C:$C,A2)=0),"Empty section","")
For Planifia, a software publisher, the first-level sections would typically be: Features, Use cases, Industries, Pricing, Resources. See create pages for each feature (opens in a new tab).
Good to know: the URL does not have to reproduce the whole hierarchy. In the example, the product page keeps a short URL under
/produits/: if the product changes category, its URL does not move. The hierarchy is carried by links and breadcrumbs. See create short, stable and descriptive URLs (opens in a new tab).
Step 5 — Turn the tree into the site
The site tree is useless as long as it stays in the spreadsheet. For each section:
- A section page that is indexable, with a useful introduction and links to all its subpages. On a shop, it is the category; for a service, the service page.
- A menu item for levels 1 and 2. See optimize menus and submenus (opens in a new tab).
- Breadcrumbs that follow the path from column C. See implement breadcrumbs (opens in a new tab).
- Links back from each detail page to its section, and links between sibling pages when they help the reader.
Where to set this up, by CMS:
- WordPress: pages have a “Parent” attribute (in the page's settings panel, under Page Attributes or Summary depending on the version); posts are organized by categories (
Posts > Categories, with an optional parent category). - Shopify: collections are flat; the hierarchy is built with nested menus (
Content > Menus) and with links between collections. - PrestaShop and Magento: the catalog category tree is the hierarchy (
Catalog > Categories). Choose a default category for each product. - Drupal: taxonomy vocabularies and the main menu carry the hierarchy; the Pathauto module can derive URLs from them.
- Laravel, Next.js and other frameworks: store the parent relationship in the data model (
parent_idcolumn) and generate menus, breadcrumbs and section pages from it, on the server side.
Step 6 — Validate with users
A tree test checks that the tree works before you touch the site: you present the tree as text only and ask, “Where would you look for the price of a boiler service?”. Treejack automates it; a shared spreadsheet and five people are enough to spot ambiguous labels. Aim for a large majority finding the right branch on the first try for the main tasks, and rework the labels that mislead people.
Step 7 — Roll out without breaking what exists
If the reorganization changes URLs, prepare the redirect table before going live: each old URL to its new place. See use 301/308 for permanent moves (opens in a new tab) and, for a full redesign, create a comprehensive redirect map (opens in a new tab). Then recrawl the site and compare it with the plan: each row of the spreadsheet must exist, be linked from its parent and return a 200.
Common mistakes
- Copying the company org chart: visitors do not know what “the solutions division” does; they are looking for a product or an answer.
- Sections without a page: a menu label that only opens a submenu, with no indexable section page, does not carry any topic.
- Making the hierarchy depend on URLs: Google generally does not infer structure from URLs; links are what count.
- Filing a page in two places with two URLs: choose one primary place and link from the other section, without duplicating the page.
- Catch-all sections (“Miscellaneous”, “Other products”) that become the largest segment of the site.
- Reorganizing without redirects: old URLs return 404 and lose their inbound links.
- Piling up levels to “keep things tidy”: each level adds a click between the home page and the detail pages.
Frequently asked questions
Should URLs reflect the site tree?
No, it is not necessary. Google states that it generally does not look at URL structure to understand a site's structure: it relies on links, menus and navigation. Readable directories help visitors and, on large sites, let Google spot the sections that are updated often. But short, stable URLs that do not carry the full hierarchy avoid address changes when a page moves to another section.
How many levels of sections should you plan?
One or two levels are enough for most brochure sites and sites with a few hundred pages. Catalogs with thousands of products can go up to three levels of categories, complemented by filters and cross-links. Beyond that, each level pushes detail pages further from the home page. Prefer a broad, shallow tree, and add shortcuts rather than new levels.
Can a page belong to two sections?
Yes, but with a single URL and one primary place. File the page under the section that matches its dominant intent, use that section for its breadcrumbs and its URL, then add a link from the second section. Avoid creating two copies of the page at two different addresses: they would compete with each other and split the links they receive.
Flat or deep structure: which should you choose?
Choose a broad, shallow structure: a few sections at the first level, each linking directly to its detail pages. Google takes into account the number of links needed to reach a page when it estimates its relative importance. A completely flat structure, with hundreds of links from the home page, loses all readability, however: the balance usually lies between two and three levels.
Resources
- Google Search Central: Help Google understand your e-commerce site structuredevelopers.google.com
- Google Search Central: SEO Starter Guidedevelopers.google.com
- Google Search Central: Sitelinks overviewdevelopers.google.com
- Google Search Central: AI features and your websitedevelopers.google.com
- Bing Webmaster Tools: Webmaster Guidelinesbing.com
- Nielsen Norman Group: card sorting and tree testingnngroup.com
Updated on
Topic checklist (PDF)