Navigation: the links that decide what gets crawled

The menu is not decoration. It is the set of links on every page of your site, so it decides what a crawler meets first and how far everything else sits from the home page. Five decisions make a small site easy to crawl, and one mistake makes a menu invisible.

By , founder of Porteur · Updated 15 September 2026 · Markdown

Why the menu is a crawl decision

A site is a graph of pages joined by internal links. The home page and everything linked from the navigation are crawled most often. Pages three clicks deep are crawled less and refreshed later. Pages nobody links at all are found only through the sitemap and rank worst.

Your menu appears on every page, so every link in it is a link from the whole site. That is why it is the strongest internal signal you control, and why putting forty things in it helps none of them.

A menu has to be made of links

This is the mistake that makes a whole section invisible. A crawler follows anchors with an href. A div with a click handler is not a link, however it looks and behaves for a mouse.

<!-- Invisible to a crawler -->
<div class="nav-item" onclick="router.push('/guides')">Guides</div>

<!-- A link -->
<a href="/guides">Guides</a>
  • Every menu item is an anchor with a real path in the href attribute.
  • Your framework's link component renders one. A styled button does not.
  • A menu that only exists after JavaScript runs is a menu the AI crawlers never see, because they do not execute scripts.
  • Keep the link text as the words people use: Pricing, Guides, Free tools. The text of a link is the description of the page it points at.

Mega menus, when a site has outgrown a simple header

  • They are fine for search as long as the links are anchors in the HTML, present whether or not the panel is open.
  • Rendering the panel's links only on hover, from a script, hides them from crawlers. Hidden in CSS is fine; absent from the DOM is not.
  • Group by what a visitor is looking for, not by your internal structure. A visitor does not know your team's names for things.
  • Do not put your entire catalogue in there. A hundred sitewide links pass very little to each and turn every page into a directory.
  • Give each group a heading that is itself a link to the section hub, so the group has a page behind it.

Mobile navigation is the version Google indexes

Google indexes the mobile version of pages. If your phone menu shows a shorter list than the desktop header, the shorter list is the one that counts as your site's navigation.

  • Keep the same links in both. A hamburger menu that hides them behind a tap is fine, as long as the anchors are in the HTML.
  • Do not drop sections on mobile to save room. Drop them everywhere or keep them everywhere.
  • Tap targets far enough apart, and a menu that closes without swallowing the back button.
  • Check it with URL Inspection: Test live URL, then look at the rendered HTML for your menu's links.

What earns a place in the menu of a small site

  1. List the jobs a visitor arrives with

    Understand what this is, see whether it fits my case, know what it costs, start using it, get help. Five jobs, five candidates.

  2. Name the page that does each job best

    One page per job. If two pages claim the same job, that is a merge waiting to happen, not two menu items.

  3. Check the traffic you already have

    Search Console's pages report shows what people actually land on. A page taking a quarter of your clicks and reachable only from a blog post belongs in the menu.

  4. Put everything else behind a hub

    A section hub with an overview and the links inside it. The hub is in the menu; its pages are one click further, which is close enough.

  5. Add the breadcrumb

    It gives a second path up the hierarchy on every inner page, and with BreadcrumbList markup it replaces the URL line under your result.

A worked example. Yourproduct.com had nine header links, including three feature pages nobody visited. They moved to a product hub, the header dropped to five, and the guides section gained a place. Nothing was deleted, and every page stayed within two clicks of the home page.

How to check your own navigation

  • View source on a page and search for the menu's link text. If the hrefs are not in the HTML, that is the first fix.
  • Crawl the site and look at the click depth column. Anything deeper than three clicks from the home page is relying on the sitemap alone.
  • List the pages with no internal links pointing at them. Orphans are usually pages that were removed from a menu and never given another home.
  • Count the sitewide links. If the number is in the hundreds, the footer has become a directory.
  • Read the crawl stats report. Crawl spent on parameters, old redirects and dead ends is crawl not spent on the pages in your menu.

Questions

Check my site, free

Paste your URL and the free check crawls the site the way a search engine does: what your menu reaches, what sits too deep, and the pages nothing links to at all.

  • Free check, no card
  • Read-only, your own accounts
  • Readable by your agent

Read next