A sound site architecture helps people and crawlers find, understand and revisit content. It is not defined by a universal maximum click depth. What matters is that important canonical URLs are reachable through stable HTML links, related content is grouped logically, and technical features do not create an unbounded URL space.
Architecture supports three separate processes:
- Discovery: a crawler finds a URL through links or a sitemap.
- Crawling: the server permits and successfully answers the request.
- Indexing: the search engine evaluates content, canonical signals, quality and other factors.
Being present in a sitemap therefore does not guarantee indexing. Likewise, robots.txt cannot repair a quality or canonicalisation problem.
Build hierarchy around user tasks
Start with the jobs the site needs to support, not with URL folders. A B2B site might separate:
- Services
- custom software development
- data platforms
- DevOps
- Industries
- fintech
- healthcare
- Knowledge
- performance
- software architecture
- compliance
Each level needs a distinct role. A hub should orient visitors, explain the topic and connect the most useful detail pages. It should not be an empty list of links or repeat the exact search intent of every child page.
Treat click depth as a diagnostic, not a law
Important pages should be reachable without unnecessary detours, but a fixed “three-click rule” does not fit every catalogue or knowledge system. Better questions are:
- Is the page linked from an appropriate hub?
- Are there dead ends or orphaned areas?
- Does the path follow the user's mental model?
- Do new and business-critical pages have visible entry points?
- Is navigation crawlable on mobile and without a custom JavaScript action?
A crawl graph can expose depth, inbound links and isolated sections. The number alone does not determine whether a page is important or indexable.
Internal links as navigation and context
Search engines discover links most reliably as <a> elements with resolvable href attributes. Clickable <div> elements, buttons and router handlers are not equivalent substitutes.
A robust internal-link system combines:
- primary navigation for core sections,
- breadcrumbs for hierarchy,
- contextual links within useful copy,
- category and topic hubs,
- genuinely relevant related-content links.
There is no universal ideal number of internal links. Adding a link does not automatically “dilute” a fixed amount of SEO value. Excess links can still make navigation and meaning unclear when every page points indiscriminately to everything else. Link according to user need and topical relationship.
Use descriptive anchor text
Link text should make the destination understandable. “Learn more” may be clear inside a labelled card, but “Core Web Vitals audit” provides more context in body copy. Keep anchors natural; repeating an exact keyword mechanically is unnecessary.
Find orphan pages
Compare at least four URL sources:
- URLs found by an internal crawl,
- XML sitemap entries,
- analytics or server-log URLs,
- URLs known in Search Console or the index.
A URL found only in the sitemap is not technically undiscoverable, but it has no normal navigation path. Decide whether to link, consolidate, mark noindex, or remove it.
Prevent crawl traps and unbounded URL spaces
Serious problems arise when a feature creates almost unlimited crawlable combinations:
- filters and sorting in arbitrary combinations,
- internal search results,
- calendars with endless future and past navigation,
- session and tracking parameters,
- faceted navigation,
- infinite scroll without crawlable pagination,
- malformed relative links that multiply paths.
The first fix belongs in the product architecture: only useful and stable states should create standalone indexable URLs. Not every filter combination needs a link, a sitemap entry or a self-referencing canonical.
Options include:
- preventing parameters in generated links,
- defining valuable filter landing pages explicitly,
- not linking low-value variants,
- canonicalising true duplicates consistently,
- adding real paginated links to infinite interfaces,
- returning
404or410for removed states.
robots.txt should not be the first patch for an uncontrolled URL model. Otherwise variants remain linked internally but can no longer be crawled and evaluated.
Use XML sitemaps accurately
A sitemap supports discovery and lists URLs the site owner considers canonical. Google describes it as a hint, not an indexing guarantee.
A clean sitemap contains:
- absolute canonical URLs,
- only indexable pages with successful responses,
- no redirects, 404s or
noindexURLs, - correctly annotated language versions where relevant,
<lastmod>only after a significant change.
Google may use <lastmod> when it is consistently and verifiably accurate. Updating every date daily without a content change undermines that signal. The official guide to building and submitting a sitemap also documents size limits and sitemap indexes.
For a small, well-linked site, a sitemap is useful but does not compensate for broken navigation.
Distinguish robots.txt, noindex, authentication and canonicals
These mechanisms solve different problems:
| Mechanism | Purpose |
|---|---|
robots.txt | controls whether a compliant bot may crawl a URL |
noindex | tells a search engine, after retrieval, not to index a page |
| Authentication | prevents public access to protected content |
rel="canonical" | signals the preferred URL among similar or duplicate pages |
According to Google, a URL blocked by robots.txt can still appear without a content snippet if links point to it. Google also cannot read a noindex directive on a page it is not allowed to crawl. To keep a public page out of the index, the crawler must be able to retrieve and see the noindex. Confidential content belongs behind authentication, not just a robots rule.
Google's official introduction to robots.txt recommends it mainly for crawler-traffic management, not as a secrecy or indexing mechanism.
Handle canonicals and duplicates consistently
Duplicate or near-duplicate URLs arise from host and protocol variants, parameters, print views, category assignments and exposed test environments. Google ultimately selects the canonical URL; site owners can signal a preference.
Google describes the relative strength of common methods as:
- permanent redirect: strong,
rel="canonical": strong,- sitemap inclusion: weak.
Keep signals aligned:
- internal links target the canonical URL,
- the sitemap lists the same URL,
- canonicals are absolute and self-referential on canonical pages,
hreflangreferences canonical language versions,- obsolete variants redirect directly to the final destination.
A canonical is not a guaranteed deletion mechanism and should point to genuinely duplicate or very similar content. Google can ignore conflicting or implausible declarations. The official guide to consolidating duplicate URLs explains each method and its limitations.
Status codes, redirects and soft 404s
Architecture includes server behaviour:
200for a successful page,301or308for a permanent move,302or307for a genuinely temporary redirect,404or410for missing content,5xxfor a temporary server failure.
An error page returning 200 may be treated as a soft 404. Long redirect chains add latency and maintenance risk. Redirect old URLs directly to a relevant final destination; do not send everything to the home page when no replacement exists.
Put crawl budget in context
Google's detailed crawl-budget guidance is intended for very large or frequently updated sites. A normal company blog with a few hundred clean URLs rarely needs a dedicated crawl-budget programme. Content quality, internal links, correct status codes and consistent canonicals matter more.
For large platforms, server-log and crawl analysis can reveal:
- how many requests go to parameters and duplicates,
- whether
5xxresponses or latency limit crawl capacity, - whether important updated pages are revisited,
- whether infrastructure and caching remain stable.
Faster responses alone do not force indexing. Google's crawl budget guide explains that crawl capacity and crawl demand work together, and crawled pages are still evaluated before indexing.
Architecture audit checklist
- Every indexable core page is reachable through a normal internal link.
- Hubs and detail pages have clearly different jobs.
- Navigation works on mobile and appears in rendered HTML.
- Filters, search and parameters do not create an unlimited URL space.
- The sitemap contains only canonical, indexable
200URLs. -
<lastmod>reflects a significant real change. -
robots.txt,noindex, authentication and canonical are not confused. - Internal links, sitemap, canonical and
hreflangagree. - Legacy URLs redirect without chains to relevant destinations.
- Missing content returns
404or410. - Crawl-budget analysis is prioritised only at an appropriate scale.
Conclusion
Crawl efficiency does not come from a single sitemap or robots rule. It emerges from a bounded URL model, useful hubs, crawlable internal links, consistent canonicals and correct server responses.
The best architecture makes priorities understandable to people and technically verifiable for crawlers. Where those two views diverge, repair the information and URL model before adding another SEO tag.