What this prompt does
This prompt audits and rebuilds the internal linking structure of a site at [site_url] with [page_count] pages, starting from the [current_issues] you describe. It identifies orphan pages with zero inbound internal links, checks that every page is reachable within [max_depth] clicks of the homepage, maps [cluster_topics] content to pillar pages, optimizes anchor text, distributes link equity from high-authority pages to priority targets, and recommends breadcrumbs for [page_types], related-content widgets, nav-link placement, and specific contextual link insertions.
The structure works because internal linking is fundamentally a graph problem, and the prompt treats it that way: find disconnected nodes, shorten path lengths, and route authority deliberately. The [max_depth] variable enforces crawlable reachability, [cluster_topics] defines the topical clusters to wire together, and [page_types] decides where breadcrumbs make sense. Naming real [current_issues] keeps the audit focused on problems you actually have rather than a generic checklist. Because the final step ranks every recommendation by estimated SEO impact, the output is not just a diagnosis but a backlog you can work through in priority order, which matters once [page_count] is large enough that you can't fix everything at once.
When to use it
- Your site has grown large enough that some pages are only reachable via the sitemap
- You have orphan posts with no internal links pointing to them
- You want to build proper topical clusters around pillar pages
- Deep pages sit too many clicks from the homepage and need pulling up
- You want to route link equity from strong pages into priority targets
- You need a prioritized, spreadsheet-ready list of specific links to add
Example output
Expect a spreadsheet-ready audit: a list of orphan pages, a link-depth report against your [max_depth] target, a cluster-to-pillar mapping for [cluster_topics], anchor-text recommendations, and a prioritized table of specific contextual links to insert with the source paragraph and suggested anchor. It typically ends with an impact-ranked action list so you can start with the highest-leverage fixes. You will also see anchor-text recommendations drawn from your real page titles and breadcrumb guidance for the [page_types] where hierarchical navigation actually helps both users and crawlers.
Pro tips
- Set
[max_depth]to a realistic crawl target like three clicks so deep pages get prioritized correctly - Name your real
[cluster_topics]precisely; vague clusters produce a weak pillar map - Describe
[current_issues]honestly — "orphans reachable only via sitemap" gets a sharper fix than "linking is bad" - Use the link-equity step to link FROM your strongest pages, since that is the cheapest ranking lever you have
- Avoid generic anchors; the prompt favors descriptive anchor text, so feed it your real page titles to work from
- Treat the output as a prioritized backlog and implement the high-impact contextual links first, then revisit