AI Summary: Internal links connect related pages for people and crawlers. Use real a href links, descriptive anchors, one canonical destination, and hub-to-detail paths; audit orphan and broken pages. They improve discoverability and context, but do not force LLM retrieval, ranking, or citation.
Links are context and discovery
Google says links help it find pages and understand relevance. It generally understands an <a> with an href resolving to a URL; WHATWG defines it as a hyperlink between resources. [1] [3]
A reader can follow the path and a crawler can discover the destination. This does not prove how an AI system builds context.
Build topical paths
Start with a hub, then link to focused pages. An HTML semantics standard can point to heading structure for RAG, while a sitemap guide covers discovery. Name the destination, not “click here” or “read more.” [1]
Every important page should have a relevant internal link, but Google says there is no magical ideal number. Add a link when it answers the next question; do not create a dense mesh to repeat keywords.
| Decision | Preferred pattern | Avoid |
|---|---|---|
| Target | One canonical destination | Near-duplicate URLs |
| Anchor | Concise, descriptive phrase | Generic or stuffed text |
| Placement | Explanatory prose | Adjacent link chains |
| Coverage | Hub, detail, return path | Orphan pages |
Keep the graph crawlable
Use URLs that resolve. Keep important links in rendered HTML as <a href="...">; a click handler without a crawlable href is a weaker contract for documented crawlers. [1] Avoid broken relative paths, unnecessary parameters, and fragments that change page content; Google warns that complex URL structures can create inefficient crawling. [2]
External links can help readers evaluate cited claims. Give context and qualify paid or user-supplied links as appropriate. [1]
Audit the rendered path
Build a link inventory from the rendered DOM. Check each link's status, redirects, canonical target, anchor, and destination. Find orphan pages, parameter variants, and client-only links.
Test keyboard and mobile paths. A path must remain understandable and usable.
Internal links make information architecture easier to inspect. They do not promise LLM retrieval or citation.
References
- Google Search Central: Link best practices for Google
- Google Search Central: URL structure best practices
- WHATWG: Links in HTML