AI Search & LLMOHow-to GuideFreshLast reviewed: · 58d ago

    Site Architecture for AI Crawlers: A 2026 Engineering Guide

    TL;DR

    Quick Answer
    Cited by AI
    Site architecture for AI crawlers means organizing content in hub-and-spoke clusters under clean URLs (e.g. /insights/{cluster}/{slug}), wiring 3-5 contextual internal links per article, and exposing the structure through BreadcrumbList schema, an XML sitemap, robots.txt, and llms.txt. This signals topical authority — the breadth, depth, and connectedness LLMs use to decide who to cite.

    AI crawlers reward sites that are easy to read, easy to traverse, and obviously organized around topics. This guide covers the hub-and-spoke pattern, URL structure, internal linking, and the robots.txt + sitemap.xml + llms.txt trifecta.

    Site architecture for AI crawlers is the practice of structuring a website so that AI bots like GPTBot, ClaudeBot, PerplexityBot, and Google-Extended can discover, traverse, and extract topically clustered content. It combines hub-and-spoke pillar architecture, clean URL hierarchies, BreadcrumbList schema, dense internal linking (3-5 contextual links per article), and the technical trifecta of robots.txt, sitemap.xml, and llms.txt.

    Time

    1-2 weeks for full architecture refactor

    Difficulty

    Intermediate

    Tools

    Screaming Frog, Search Console, Server logs…

    Before you start

    • Access to your CMS, theme, or static site generator
    • Permission to deploy robots.txt, sitemap.xml, and llms.txt at the domain root
    • A list of your existing topic clusters (or willingness to define them)
    • Basic familiarity with internal linking and structured data

    What you'll have at the end

    A topically organized site with hub-and-spoke clusters, clean URLs, BreadcrumbList schema, 3-5 contextual internal links per article, and a working trifecta of robots.txt, sitemap.xml, and llms.txt that AI crawlers can read end-to-end.

    Linus Ingemarsson - Author at Alice Labs
    Written by
    Eric Lundberg - Reviewer at Alice Labs
    Reviewed by
    Published ·Updated
    13 min read

    8-step process

    0/8 complete
    1. Step 1: Inventory your current site structure

      Crawl the entire site with Screaming Frog or a similar tool. Export every URL, its depth from the homepage, its inbound internal links, and its current cluster (if any). This is the baseline you will refactor from.

    2. Step 2: Plan the hub-and-spoke architecture

      Group existing pages into 5-10 topic clusters. For each cluster, designate one pillar (hub) page and 5-15 supporting (spoke) articles. If a cluster has only 1-2 spokes, it is too thin — either expand it or fold it into a larger cluster.

    3. Step 3: Define the cluster URL structure

      Adopt a flat, semantic pattern such as /insights/{cluster}/{slug}. Keep the pattern stable across the site. Avoid query strings, dates, and category IDs in URLs — AI crawlers prefer human-readable paths.

    4. Step 4: Deploy XML sitemap and BreadcrumbList schema

      Generate an /sitemap.xml that lists every canonical URL with lastmod timestamps. Add Schema.org BreadcrumbList markup on every page so the cluster hierarchy is machine-readable in JSON-LD.

    5. Step 5: Audit internal linking density (3-5 per article)

      Every article should link to at least 3 sibling spokes and back to its pillar hub. Use descriptive anchor text that names the target entity. Run a crawl after editing to confirm density and verify there are no orphan pages.

    6. Step 6: Optimize page speed for AI crawlers

      AI crawlers timeout on slow pages just like search bots do. Target a Largest Contentful Paint under 2.5 seconds. Compress images, defer non-critical JavaScript, and serve content from a CDN where possible.

    7. Step 7: Deploy llms.txt as a curated architectural signal

      Publish /llms.txt at the domain root with an H1 title, a one-paragraph site summary, and H2 sections that mirror your topic clusters. Each section should list pillar and key spoke URLs with one-line descriptions.

    8. Step 8: Monitor crawl coverage and iterate

      Filter server logs by AI user-agent strings (GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, Google-Extended). Confirm the bots are reaching every cluster. Cross-reference with Search Console coverage and adjust internal linking where coverage is thin.

    Key Takeaways

    • AI crawlers favor sites that are obviously organized around topics — hub-and-spoke clusters with a pillar page and 5-15 supporting articles is the strongest pattern.
    • Clean URLs (/insights/{cluster}/{slug}) make hierarchy machine-readable and pair naturally with BreadcrumbList schema for AI extraction.
    • Internal linking density of 3-5 contextual links per article builds entity relationships LLMs can traverse during retrieval.
    • robots.txt, sitemap.xml, and llms.txt form a technical trifecta: gatekeeper, full discovery map, and curated signal — all three should exist on a serious site.
    • Page speed and mobile-first responsive design are AI crawler requirements — bots time out on slow pages just like search bots do.
    • Aggarwal et al. (2024) found citation-rich, well-structured content sees up to 40% improved visibility in generative engines.
    01 / 05Step

    Why Architecture Matters for AI Crawlers (the Topical Authority Signal)

    In short

    AI crawlers reward sites that are obviously organized around topics. A hub-and-spoke architecture — pillar page plus 5-15 supporting articles, all densely interlinked — is the clearest signal of topical authority an LLM can extract from a domain.

    For two decades, SEO architecture meant siloing content under categories so PageRank could flow cleanly. The mechanics were link-based.

    AI crawlers see the same structures but interpret them differently. What they extract is not link equity but topical breadth and depth — how many related entities a domain covers, and how tightly those entities are connected.

    Topical authority for LLMs is the product of three things: breadth of coverage across a topic, depth on each subtopic, and the density of internal links that show how subtopics relate.

    What changed in the last 24 months.

    • Citations replaced clicks. SparkToro's 2024 study found roughly 60% of searches end zero-click. Visibility now means being cited inside an answer, not ranked above it.
    • LLM crawlers traverse, then summarize. Bots like ClaudeBot and OAI-SearchBot follow internal links to understand context, then condense what they find into citation-ready passages.
    • Architecture became extractable. BreadcrumbList schema, llms.txt, and sitemap.xml all expose hierarchy in machine-readable form. Sites that publish this structure are cited preferentially.

    Aggarwal et al. (2024) found citation-rich, well-structured content sees up to 40% improved visibility in generative engines. The structure is not decorative — it is part of the signal.

    Site architecture is the foundation under everything else in LLMO. Schema, llms.txt, and citation-quality writing all assume the underlying topology is clean.

    02 / 05Step

    The Hub-and-Spoke Pattern (with Diagram)

    In short

    Hub-and-spoke is the dominant content architecture for AI search. One pillar page covers the broad topic; 5-15 spoke articles each go deep on one subtopic. Every spoke links back to the hub, every hub links forward to its spokes, and adjacent spokes link to each other.

    The pattern has three roles: the pillar (hub), the supporting articles (spokes), and the contextual links that connect them.

    Visualizing the structure.

                        [ Pillar — broad topic ]
                                  |
            +---------+-----------+-----------+---------+
            |         |           |           |         |
       [Spoke 1] [Spoke 2]   [Spoke 3]   [Spoke 4] [Spoke 5]
            \_________\_________/___________/_________/
                      (siblings link to each other)

    What each role does.

    • The pillar (hub). A long, comprehensive page that defines the topic, covers every subtopic at summary depth, and links out to each spoke. Typical length: 3,000-5,000 words.
    • The spokes. Focused articles that go deep on one subtopic each. Each spoke links back to the pillar and sideways to 2-4 sibling spokes. Typical length: 1,200-2,500 words.
    • Contextual links. Inline anchor text that names the entity being linked. "See our llms.txt guide" beats "click here" — the anchor is what AI crawlers extract as relationship context.

    Why this beats flat blogs. A flat blog with 200 posts and no clusters looks like noise to an LLM. A hub-and-spoke site with 10 clusters of 8 articles each looks like 10 areas of depth.

    Sizing the cluster. A pillar with only 1-2 spokes is too thin to signal authority. A pillar with 30+ spokes is hard to traverse and dilutes focus. The sweet spot is 5-15 spokes per pillar.

    How Alice Labs uses it. The site you are reading sits at /en/insights/ai-search/site-architecture-for-ai-crawlers — a spoke under the AI Search Optimization Guide pillar, in the ai-search cluster. This guide links to llms.txt, schema.org, and citation playbooks; each of those links back here.

    03 / 05Step

    URL Structure Best Practices

    In short

    Clean URLs are machine-readable hierarchies. Adopt a flat semantic pattern like /insights/{cluster}/{slug}, keep it stable, and avoid query strings, dates, and category IDs. The path itself becomes a topical signal AI crawlers can parse without rendering the page.

    URLs are the cheapest hierarchy you can publish. Every crawler — search, AI, or accessibility — parses them before fetching the page. They are also the most permanent: changing one breaks every inbound link.

    The pattern that works.

    https://alicelabs.ai/en/insights/ai-search/site-architecture-for-ai-crawlers
                           |        |              |
                        section  cluster         slug

    Five rules for AI-friendly URLs.

    • Use lowercase letters and hyphens. Underscores and uppercase letters are inconsistent across crawlers. Hyphens are the universally safe word separator.
    • Keep the cluster name in the path. /insights/ai-search/{slug} tells a crawler the topic before it fetches the page. /insights/{slug} hides the topic.
    • Avoid query strings for content. ?id=42 and ?category=ai are weak signals and easily de-duplicated. Use static paths for canonical content.
    • Avoid dates in the URL. /2024/03/post-title locks content to a moment in time and discourages updates. Date-stamped paths look stale to LLMs.
    • Match the slug to the primary keyword. The slug is the strongest single token in the URL. Make it descriptive and unambiguous.

    Trailing slashes. Pick one convention (with or without) and stick to it. Mixed conventions create duplicate-content issues. 301-redirect the wrong variant to the right one.

    Migration discipline. If you must change URLs, 301-redirect every old path to its new home and update every internal link. Broken redirect chains lose entity context that took years to build.

    Want the Alice Labs LLMO Citation Benchmark for your site?

    We benchmark architecture, schema coverage, internal linking, and citation surface across ChatGPT, Perplexity, Claude, and Google AI Overviews — with concrete fixes prioritized by impact.

    Get the benchmark
    04 / 05Step

    Internal Linking Density and Quality

    In short

    AI crawlers extract entity relationships from internal links. Aim for at least 3-5 contextual links per article, with descriptive anchor text that names the target entity. Density without quality is noise; quality without density leaves entities disconnected.

    Internal links are how an LLM learns what a page is about beyond the page itself. A guide on llms.txt that links to robots.txt, sitemap.xml, and Schema.org is obviously about technical AI-search infrastructure. The same guide with no internal links is just text.

    Three rules for AI-friendly internal linking.

    • Density: 3-5 contextual links per article minimum. Every spoke should link to its pillar and 2-4 sibling spokes. Below 3 the entity graph is too sparse to traverse.
    • Quality: descriptive anchor text. Anchor text is the relationship label LLMs extract. "See our llms.txt guide" beats "click here" by a wide margin.
    • Placement: in-context, not just in a related-links block. Inline links inside paragraphs carry topical weight. Footer or sidebar lists are easy to ignore.

    Anchor text patterns that work.

    • Entity-named: "the BreadcrumbList schema" rather than "this article"
    • Descriptive: "our 9-step ChatGPT citation playbook" rather than "read more"
    • Question-based: "what is LLMO" rather than "definition" — useful for matching long-tail prompts

    Avoiding the orphan trap. An orphan page is one with no inbound internal links. AI crawlers find it only via the sitemap, never via context. Run a crawl after every architecture change and confirm zero orphans.

    Avoiding link cannibalization. If two articles target the same primary keyword, internal links will split authority between them. Designate one as canonical for the keyword and link the other one to it, or merge them.

    05 / 05Step

    llms.txt + sitemap.xml + robots.txt — the Technical Trifecta

    In short

    Three text files at the domain root expose your architecture to crawlers. robots.txt is the gatekeeper, sitemap.xml is the full discovery map, and llms.txt is the curated highlights. AI crawlers read all three; serious sites publish all three.

    Each file does a different job. They are complementary, not substitutes.

    robots.txt — the gatekeeper. Plain text at /robots.txt. Tells crawlers what they may access. Honored on a voluntary basis by major AI providers (OpenAI, Anthropic, Google, Perplexity).

    User-agent: GPTBot
    Allow: /
    
    User-agent: ClaudeBot
    Allow: /
    
    User-agent: PerplexityBot
    Allow: /
    
    User-agent: *
    Allow: /
    
    Sitemap: https://yourdomain.com/sitemap.xml

    sitemap.xml — the full discovery map. XML at /sitemap.xml. Lists every canonical URL on the site with optional lastmod and priority. Required for full coverage by both search and AI crawlers.

    <?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
      <url>
        <loc>https://yourdomain.com/en/insights/ai-search/site-architecture-for-ai-crawlers</loc>
        <lastmod>2026-05-06</lastmod>
      </url>
      <!-- one entry per canonical URL -->
    </urlset>

    llms.txt — the curated highlights. Markdown at /llms.txt. Proposed September 3, 2024 by Jeremy Howard at Answer.AI. Full spec at llmstxt.org. Lists the high-value subset of pages with descriptions, organized by cluster.

    # Alice Labs
    
    > Nordic AI consultancy specializing in LLMO and enterprise AI search.
    
    ## AI Search
    
    - [AI Search Optimization Guide](/en/insights/ai-search-optimization-guide): pillar guide
    - [Site Architecture for AI Crawlers](/en/insights/site-architecture-for-ai-crawlers): the topical authority pattern
    - [llms.txt Guide 2026](/en/insights/llms-txt-guide-2026): how to write the file
    
    ## Schema and Structured Data
    
    - [Schema.org for AI](/en/insights/schema-org-for-ai): structured data LLMs read

    BreadcrumbList schema — the per-page hierarchy. Inside each page, JSON-LD BreadcrumbList markup expresses the cluster path. Place it once per page; it pairs with the URL structure.

    {
      "@context": "https://schema.org",
      "@type": "BreadcrumbList",
      "itemListElement": [
        { "@type": "ListItem", "position": 1, "name": "Insights",
          "item": "https://yourdomain.com/en/insights" },
        { "@type": "ListItem", "position": 2, "name": "AI Search",
          "item": "https://yourdomain.com/en/insights/ai-search" },
        { "@type": "ListItem", "position": 3, "name": "Site Architecture for AI Crawlers" }
      ]
    }

    The reconciliation rule. Whatever you allow in robots.txt must also be reachable from sitemap.xml and (for high-value pages) listed in llms.txt. Inconsistencies between the three files are a common audit failure.

    About the Authors & Reviewers

    Published ·Updated
    Written by
    Linus Ingemarsson - Co-Founder, Alice Labs at Alice Labs
    Linus Ingemarsson

    Co-Founder, Alice Labs

    Co-Founder at Alice Labs. Author of 7 research reports on AI adoption, governance and labor markets cited across EU, OECD and US benchmarks.

    • 8+ years in AI strategy & implementation
    • Top-5 AI Speaker, Sweden (Mindley 2025)
    • 100+ enterprise AI engagements
    Reviewed by
    Eric Lundberg - Co-Founder, Alice Labs at Alice Labs
    Eric Lundberg

    Co-Founder, Alice Labs

    Co-Founder at Alice Labs. Builds AI automation, agent workflows and integration systems that hold up in real business operations.

    • AI automation & agent systems lead
    • Workflow design across 100+ deployments
    • Specialist in RAG, integrations & APIs
    Published · Updated
    Reviewed for technical accuracy, methodology and source integrity.·All claims trace to public sources cited in-line.

    Frequently Asked Questions

    What is site architecture for AI crawlers?

    Site architecture for AI crawlers is the practice of structuring a website so AI bots like GPTBot, ClaudeBot, PerplexityBot, and Google-Extended can discover, traverse, and extract topically organized content. It combines hub-and-spoke pillar structure, clean URLs (e.g. /insights/{cluster}/{slug}), BreadcrumbList schema, dense internal linking (3-5 contextual links per article), and the technical trifecta of robots.txt, sitemap.xml, and llms.txt.

    How is hub-and-spoke different from a regular blog?

    A regular blog publishes articles chronologically with little topical structure — to an LLM, a 200-post blog with no clusters looks like noise. Hub-and-spoke groups content into 5-10 topic clusters, each with one pillar page and 5-15 supporting spokes, all densely interlinked. The result is a small number of obviously deep topics rather than a long flat list, which is the structure AI crawlers reward as topical authority.

    How many internal links should each article have?

    At minimum 3-5 contextual internal links per article: one back to the pillar, 2-4 to sibling spokes, and optionally one or two to other clusters where genuinely relevant. Anchor text should name the target entity ("see our llms.txt guide" rather than "click here"). Density without quality is noise — descriptive anchors and in-context placement matter more than raw count.

    Do I need both sitemap.xml and llms.txt?

    Yes. They serve different roles. sitemap.xml is a complete machine-readable list of every canonical URL on the site, which both search and AI crawlers use for discovery. llms.txt is a curated markdown summary of the high-value subset, organized by cluster, that gives LLM crawlers human-readable context. The two files coexist; serious sites publish both at the domain root.

    Will changing my URL structure hurt my AI search visibility?

    Yes, in the short term, unless you migrate carefully. AI crawlers cache aggressively and may take weeks or months to re-associate citations with the new path. If you must change URLs, ship a complete 301-redirect map on day one, update every internal link, and verify the redirects with server logs. The long-term gain from a cleaner structure is usually worth it, but the migration must be disciplined.

    What is BreadcrumbList schema and why does it matter for AI crawlers?

    BreadcrumbList is a Schema.org type (schema.org/BreadcrumbList) that expresses page hierarchy as JSON-LD. It tells crawlers "this page sits at: Insights > AI Search > Site Architecture" in a machine-readable way. AI crawlers extract this structure to understand where a page fits in your topology, which feeds into topical authority signals. Pair it with a clean URL pattern for maximum effect.

    Does page speed affect AI crawlers the way it affects search bots?

    Yes. AI crawlers timeout on slow pages just like Googlebot does. If a bot cannot render and read your page within its budget, it cannot cite it. Target a Largest Contentful Paint under 2.5 seconds, compress images, defer non-critical JavaScript, and serve from a CDN. Mobile-first responsive design is also expected — many crawlers use mobile user agents by default.

    How do I monitor whether AI crawlers are reaching every cluster?

    Filter your server logs by AI user-agent strings (GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, Google-Extended, CCBot) and group hits by URL prefix. If one cluster shows materially fewer hits than the others, internal linking into that cluster is probably thin — add 2-3 contextual links from sibling content and re-check. Cross-reference with Google Search Console and Bing Webmaster Tools coverage reports for a second view.

    Previous in AI Search & LLMO

    AI Search Optimization for Healthcare: YMYL & Medical Schema

    Next in AI Search & LLMO

    AI Search Analytics: Measure Your AI Visibility (2026 Guide)

    Further reading

    Related reading

    Sources

    1. Aggarwal et al. — GEO: Generative Engine Optimization (arXiv:2311.09735, 2024)(accessed 2026-05-06)
    2. llms.txt — Official specification, Jeremy Howard / Answer.AI (proposed September 3, 2024)(accessed 2026-05-06)
    3. Schema.org — BreadcrumbList type definition(accessed 2026-05-06)
    4. sitemaps.org — XML sitemap protocol(accessed 2026-05-06)
    5. SparkToro 2024 zero-click study — ~60% of searches end zero-click(accessed 2026-05-06)
    6. OpenAI — GPTBot, ChatGPT-User, and OAI-SearchBot bot documentation(accessed 2026-05-06)

    Next scheduled review:

    Need a hand refactoring your site architecture for AI search?

    Alice Labs runs full architecture audits — hub-and-spoke clustering, URL structure, internal linking density, BreadcrumbList schema, and the robots.txt + sitemap.xml + llms.txt trifecta — across 100+ Nordic enterprise implementations.

    Request an LLMO architecture audit
    Share

    Get in Touch!

    The lab usually responds within 24 hours.

    Need help with AI?Get in touch