Picture a supermarket where the milk sits next to the light bulbs, the bread is in three different aisles and there are no signs. You would find what you need eventually, but you would be annoyed, and you might give up. Many websites feel exactly like that, both to visitors and to Google.
Site architecture is how your pages are organized and linked together: your menu, your categories, how deep pages sit, and how people (and search engines) move from one page to another. It sounds like a job for developers, but it is really a planning job, and any business owner can do it.
After this lesson, you will understand flat and deep structures, how to plan categories, how navigation and breadcrumbs help, what "click depth" means, and how to spot weak spots in your own site.
What is site architecture, and why does Google care about it?
Google discovers most pages by following links, as I explain in how search engines work. So the way your pages link to each other shapes what Google finds and how it understands your site.
Google's ecommerce guide says this plainly: navigation structures such as menus and links between pages affect how Google understands your site. It also says that the more links a page has pointing to it from within your site, the higher that page's relative importance. In other words, your structure tells Google which pages you think matter most.
Good architecture does three things:
- Helps people find things fast. Clear menus and categories mean fewer lost visitors.
- Helps Google discover every important page. A page with no links to it (an orphan page) may never be found by crawling.
- Shows how topics relate. A category page that links to all its subpages tells Google "these belong together." That is the idea behind topic clusters and pillar pages.
Most good sites follow a simple pyramid. The home page sits at the top. Below it are a handful of main sections or categories. Below those are subcategories, and then individual pages such as products, services or articles.
Flat or deep: how many clicks should a page be from the home page?
Click depth is the number of clicks it takes to reach a page from the home page. The home page has a depth of zero. A page linked from the main menu has a depth of one, and so on.
Google's ecommerce guide says Google considers how many links it needs to follow to reach a page when judging its importance, so pages buried deep may be treated as less important. Google does not give a magic number. Many SEOs aim to keep important pages within about three or four clicks of the home page, but that is a rule of thumb, not a Google rule.
| Flat structure | Deep structure | |
|---|---|---|
| What it looks like | Most pages are one or two clicks from the home page | Pages sit many levels down: section, sub-section, sub-sub-section |
| Good for | Small sites and important money pages | Rarely a goal; it usually happens by accident as a site grows |
| Risk | Too flat: a home page with hundreds of links and no clear grouping | Too deep: key pages are hard to reach and may be crawled less |
| Fix | Group pages into a few clear categories | Link to key pages from the menu, home page, category pages and related content |
The sweet spot is in the middle: a structure that is shallow but organized. A few clear categories, each linking to its pages, so nothing important is far from the top.
Here is an invented example. A plumbing company has 30 service pages. If they all sit in one long footer list, the site is flat but messy. If they are grouped into "Drains", "Water heaters" and "Emergency repairs", each linked from the main menu, every service is two clicks away and the grouping makes sense.
How do I plan categories and subcategories?
Your categories should match how your customers think, not how your company is organized internally. Customers search for "water heater repair", not "Department B services". Your keyword research helps a lot here, especially the work you did in keyword mapping, where each page gets one main topic.
Here is how I would plan a structure from scratch, or review an existing one:
- List every important page you have or plan to have. A simple spreadsheet works.
- Group them by topic using the words customers use. Each group becomes a category.
- Keep the number of main categories small, often somewhere between a handful and about ten, so your menu stays readable.
- Give each category a real page that introduces the topic and links to every page inside it. Don't make categories empty shells.
- Add subcategories only when a group gets large. Don't create extra levels "just in case".
- Make sure every page belongs somewhere, so it has at least one link pointing to it.
- Sketch the tree on paper: home page at the top, categories below, pages below them. If any branch looks very long, rethink it.
For online stores, this matters even more. Google says category pages should link directly to the products in them, otherwise Googlebot might not find all your products by crawling. Our guide to ecommerce site structure goes into store-specific details, and the lesson on ecommerce SEO basics covers filters and product pages.
How do navigation menus and breadcrumbs help?
Menus and crawlable links
Your main menu is the most important set of links on your site, because it appears on almost every page. Put your main categories there, and keep the labels short and clear.
One technical point matters a lot. Google generally follows only real links: an <a> element with an href attribute, like <a href="/drains/">Drains</a>. Google says it can't reliably follow "links" that are just buttons or other elements with JavaScript click events. If your menu is built with fancy scripts, ask your developer to confirm it uses normal <a href> links.
Also remember that Googlebot generally doesn't type into search boxes. If some pages can only be reached through your site search, Google may never find them. Link to them.
Breadcrumbs
Breadcrumbs are the small trail of links near the top of a page, like Home > Drains > Blocked kitchen sink. They show visitors where they are and let them move up a level in one click. They also add helpful internal links to category pages.
Google's breadcrumb guidance says to build the trail around the typical path a user takes to reach the page, rather than simply copying the URL. You can describe breadcrumbs to Google with BreadcrumbList structured data, which I introduced in the structured data lesson. Google now documents breadcrumbs in search results as a desktop feature. Our breadcrumb navigation guide shows how to set them up.
Contextual links
Menus and breadcrumbs are not enough on their own. Links inside your content, from one related page to another, help Google and visitors move sideways across your site. I cover this in detail in the internal linking lesson.
How do URLs and folders fit into site architecture?
Ideally, your URLs reflect your structure, for example example.com/drains/blocked-kitchen-sink/. That makes the page's place obvious to people who see the link. Google recommends readable words in URLs and hyphens between words, as I explain in SEO-friendly URLs.
But here is a point many guides miss. Google's ecommerce guide says Google doesn't look at URL structure to understand how a site is organized; it analyzes the links between pages instead. So folder names help people, but your links are what really show Google the structure.
Folders still have a technical benefit on bigger sites. Google's starter guide says that for sites with more than a few thousand URLs, grouping similar topics into directories can help Google learn how often each section changes. A rarely changing policies section and a frequently updated offers section can then be crawled at different rates.
Watch out for endless URL spaces
Some site features can create huge numbers of near-identical URLs that waste Google's time. Google's URL guidance names a few common ones:
- Filters and sorting on category pages (color, size, price order), often called faceted navigation.
- Calendars that link to endless past and future dates.
- Session IDs and tracking parameters added to URLs.
These are covered in later lessons on robots.txt and canonical tags, and in our guide to faceted navigation SEO.
Finally, a word of caution. Google's starter guide says you don't need to rush into reorganizing an existing site, because it can understand your pages as they are. Changing many URLs means redirects and some risk, which I cover in the lessons on redirects and site migrations. Fix menus and links first; move URLs only when there is a clear benefit.
Try it: map your site and find buried pages
Set aside an hour for this. You will learn a lot about your own site.
- Write down your top ten pages: the ones that bring in leads or sales.
- Start at the home page and count clicks to reach each one using only normal links. Note the number.
- Flag anything deeper than three or four clicks. Ask: could it be linked from the menu, the home page or a category page?
- Look for orphans. Think of pages you created for campaigns or old blog posts. Can you reach them by clicking from the home page at all?
- Check your menu labels. Would a new customer understand each one without explanation?
- Optional: run a free crawler. A tool like Screaming Frog (free for smaller sites) reports click depth for every URL. Our Screaming Frog guide for beginners explains where to find it.
Then fix the easiest things first: add missing links, move key pages into the menu, and give each category page links to everything inside it.
| Check | Healthy | Needs work |
|---|---|---|
| Key pages' click depth | Within about 3 clicks | 5 or more clicks, or unknown |
| Main menu | A few clear, customer-friendly categories | Long, vague or internal jargon labels |
| Category pages | Introduce the topic and link to every page inside | Empty, or show only some pages |
| Orphan pages | None that matter | Important pages with no internal links |
| Links | Normal <a href> links | Menus or "links" that need JavaScript clicks |
Questions beginners ask about site architecture
Is there a maximum number of clicks a page should be from the home page?
Google doesn't set a number. It says it considers how many links it has to follow to reach a page when judging importance. Many SEOs use three or four clicks as a rough goal for important pages. Treat that as a habit, not a Google rule.
Should I change my whole site structure for SEO?
Usually not in one go. Google's starter guide says you don't need to rush to reorganize, because it can understand your pages as they are. Moving many URLs also means redirects and some risk. Improve navigation and internal links first, and change URLs only when there is a clear reason.
Do my URLs need to match my site structure?
It helps people when they do, for example /services/drain-cleaning/. But Google says, for ecommerce sites, that it mainly uses links rather than URL structure to understand how pages relate. So good navigation and internal links matter more than the folder names.
Do I still need an HTML sitemap page?
It isn't required. If your menus, categories and internal links reach every important page, Google can find them. An HTML sitemap can still help visitors on large sites, and an XML sitemap helps Google discover URLs.
Building a site structure that works for people and Google
Good site architecture is a well-signposted supermarket. Group pages into clear categories that match how customers think, keep important pages within a few clicks of the home page, use real links in your menus, add breadcrumbs, and make sure no important page is left without links. Google reads your links to understand your structure, so that is where most of the wins are.
Next up is robots.txt: controlling what search engines crawl, where you will learn how to keep crawlers away from the parts of your site that don't need crawling. If your site has grown messy and you want a second pair of eyes, our on-page optimization team is happy to help, or you can ask for a quote.