Prompt
How do I build a site structure that helps AI retrieval?
Latest observation
To make a site structure that helps AI retrieval, design for clear hierarchy, explicit semantics, and easy chunking. Retrieval systems work best when pages and sections are easy to parse, label, and connect.
Core principles
1) Use a simple, shallow hierarchy
Keep important content within a few clicks of the homepage.
- Homepage
- Category / hub pages
- Topic pages
- Supporting detail pages
Avoid deep nesting like /a/b/c/d/e/ unless necessary.
2) Make every page about one primary topic
Each page should have a clear purpose and keyword/theme.
Good:
- One page for “Password reset for admins”
- Another for “Password reset for end users”
Bad:
- One page covering 8 unrelated support tasks
This helps retrieval systems map pages to specific questions.
3) Use descriptive, consistent URLs
URLs should reflect the topic plainly.
Good:
/docs/api/authentication/help/billing/refunds
Bad:
/page?id=123/resources/guide-final-v7
4) Structure content with semantic headings
Use headings to break content into retrievable chunks.
Example:
- H1: “API Authentication”
- H2: “Overview”
- H2: “API keys”
- H2: “OAuth setup”
- H2: “Common errors”
This makes it easier for AI systems to extract the right section.
5) Create hub pages
Hub pages summarize a topic and link to related subpages.
For example, a “Billing” hub might link to:
- Plans and pricing
- Invoices
- Refunds
- Payment methods
- Tax settings
Hubs help AI understand topical relationships.
6) Use strong internal linking
Link related pages naturally.
- Link from overview pages to detail pages
- Link from detail pages back to the parent hub
- Add “related articles” sections where appropriate
This creates a graph of meaning, not just a tree.
7) Add metadata and structured data
Use page titles, meta descriptions, and schema where relevant.
Important:
- Clear
<title>tags - Accurate meta descriptions
- Schema.org markup for articles, FAQs, products, organization, etc.
Structured data can help retrieval and interpretation.
8) Put the answer near the top
For pages meant to answer questions, lead with a direct summary.
Example:
- First paragraph: the direct answer
- Then details, exceptions, examples, steps
This improves extraction for snippets and AI summaries.
9) Use FAQs and explicit Q&A when useful
If people ask predictable questions, add a FAQ section with full questions as headings.
Example:
- “How do I reset my password?”
- “Why was my payment declined?”
This aligns well with retrieval queries.
10) Keep content clean and machine-readable
Avoid things that make retrieval harder:
- Text embedded in images
- Excessive JavaScript for primary content
- Hidden/accordion-only critical info
- Duplicate pages with tiny variations
- Thin pages with little substance
A good AI-friendly site pattern
A practical structure looks like this:
/— Homepage/product/— Product overview/product/features/— Feature hub/product/features/search/— Search feature page/docs/— Documentation hub/docs/authentication//docs/api-reference//help/— Help center hub/help/account//help/account/reset-password/
Content formatting tips
- Use one H1 per page
- Use H2s for major sections
- Keep paragraphs short
- Use bullet lists for steps and options
- Include examples, not just abstract descriptions
- Avoid burying the main point after long intros
For large sites
If your site is big, add:
- Topic clusters
- Canonical tags to prevent duplicates
- XML sitemaps
- Breadcrumb navigation
- Search/filter pages that are crawlable only when useful
- Consistent naming across sections
A simple checklist
Ask:
- Can a human guess the topic from the URL and title?
- Does each page answer one main question?
- Are important pages only a few clicks away?
- Are sections grouped by topic?
- Is the page content easy to extract into chunks?
- Are related pages linked together?
If you want, I can also give you:
- a recommended site architecture template for docs/help centers, or
- an AI-retrieval SEO checklist you can apply to your existing site.
Brands