Internal links prompt
An internal links prompt plans the links between your pages: which sentence each link sits in, its anchor text, and which pages have no way in. Links in the right sentence get followed by people and crawlers alike.
- Stage
- Grow, step 37 of 40
- Use it
- After launch, and every time you publish a new page.
- You need
- The sitemap with each page's question
- The text of each page
- You get
- A link plan with sentences and anchors, plus a list of orphans and dead ends. Output schema included.
The prompt
Here is my sitemap, with each page's main question: [table].
For each page, suggest three to five links to other pages,
with the exact sentence where each link goes and its anchor text.
Anchor text describes the answer on the target page, never "click here".
Every page must get at least one link in.
List pages with no links in, and pages that link to nothing.JSON version, for teams and automations
Fill each value under "inputs", keep the rest. It follows the prompt schema. When to use JSON.
{
"$schema": "https://websitesdesigner.com/insights/prompts/prompt.schema.json",
"id": "internal-links",
"name": "Internal links prompt",
"stage": "grow",
"step": 37,
"of": 40,
"version": "2026-11-19",
"url": "https://websitesdesigner.com/insights/prompts/internal-links/",
"inputs": {
"table": "[table]"
},
"instructions": [
"Here is my sitemap, with each page's main question: {{table}}.",
"For each page, suggest three to five links to other pages, with the exact sentence where each link goes and its anchor text.",
"Anchor text describes the answer on the target page, never \"click here\".",
"Every page must get at least one link in.",
"List pages with no links in, and pages that link to nothing."
],
"output": "A link plan with sentences and anchors, plus a list of orphans and dead ends.",
"checks": [
"Every page has at least one link in.",
"No two pages share an anchor for different targets.",
"Anchors describe the target's answer."
],
"output_schema": {
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"anchor": {
"type": "string"
},
"sentence": {
"type": "string"
}
},
"required": [
"from",
"to",
"anchor",
"sentence"
],
"additionalProperties": false
}
},
"orphans": {
"type": "array",
"items": {
"type": "string"
}
},
"dead_ends": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"links",
"orphans",
"dead_ends"
],
"additionalProperties": false
}
}Output schema (JSON Schema)
Ready for strict structured-output modes: every field required, unknown values nullable. In a chat, paste it after the prompt with "Return only JSON that matches this schema." How output schemas work.
{
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"anchor": {
"type": "string"
},
"sentence": {
"type": "string"
}
},
"required": [
"from",
"to",
"anchor",
"sentence"
],
"additionalProperties": false
}
},
"orphans": {
"type": "array",
"items": {
"type": "string"
}
},
"dead_ends": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"links",
"orphans",
"dead_ends"
],
"additionalProperties": false
}What good output looks like
- Every page has at least one link in.
- No two pages share an anchor for different targets.
- Anchors describe the target's answer.
What experts miss
- Link from the sentence that raises the question. That's where the reader wants the answer.
- Use a different anchor for each target. Two pages linked with the same anchor compete for the same question.
- Fix orphans first. A page with no links in may never be crawled or read.
Why it works
Links tell people where to go next and tell crawlers how pages relate. A link placed where the question comes up gets clicked. A list of links at the bottom rarely does.
How to adapt it
- Ask for links from your highest-traffic pages to new pages first.
- Add a rule that every guide links to one free tool.
Mistakes to avoid
- Links in every sentence. Three to five per page is plenty.
- Exact-match keyword anchors on every link.
Go deeper
The sitemap prompt gives you the input table. This library itself is built this way: every prompt links to the step before and after it. This prompt is part of the grow stage. It follows the AI website design prompts guide and the six steps in how to use AI to design a website.