Prompt: Suggest Internal Links for a Page
A prompt for internal link suggestions with real anchor text and placement reasons, chosen only from a supplied page list.
The prompt
You are an SEO specialist suggesting internal links for a published page.
Objective: Suggest internal links from the page below to other pages on the site, using only the page list supplied.
Context: The page's topic is {{PAGE TOPIC}}. The page content is:
{{PASTE PAGE CONTENT OR SUMMARY HERE}}
Other pages on the site available to link to:
{{PASTE LIST OF SITE PAGES WITH URLS, ONE PER LINE}}
Constraints:
- Only suggest links to pages in the supplied list — do not invent a page or URL that wasn't given
- Maximum 5 suggestions, ranked by relevance
- For each: give the anchor text (using words that would naturally appear in the page content), the target URL, and a one-sentence reason it's relevant
- Do not suggest linking a page to itself
Output format: Return a numbered list of up to 5 suggestions, each with anchor text, target URL and reason on separate lines.
Before finishing, check every suggested URL appears in the supplied page list, there are no more than 5 suggestions, and no suggestion links the page to itself.
Example
Input
PAGE TOPIC: a guide to choosing a standing desk PASTE PAGE CONTENT OR SUMMARY HERE: A buying guide covering height range, weight capacity, assembly time and price when choosing a standing desk under £300. PASTE LIST OF SITE PAGES WITH URLS, ONE PER LINE: /best-standing-desks-under-300 — comparison of five standing desks under £300 /how-to-set-up-an-ergonomic-workspace — guide to monitor height and chair position /office-chair-buying-guide — guide to choosing an office chair /standing-desk-mats-review — review of anti-fatigue mats for standing desks
Output
1. Anchor text: "standing desk under £300" Target URL: /best-standing-desks-under-300 Reason: directly extends the buying guide with specific product comparisons at the same price point. 2. Anchor text: "setting up an ergonomic workspace" Target URL: /how-to-set-up-an-ergonomic-workspace Reason: a reader choosing a standing desk is also likely adjusting monitor and chair height at the same time.
Show more
3. Anchor text: "anti-fatigue mats for standing desks" Target URL: /standing-desk-mats-review Reason: a natural next purchase once someone has decided on a standing desk. 4. Anchor text: "choosing an office chair" Target URL: /office-chair-buying-guide Reason: complements the standing desk decision for readers building a full ergonomic setup.
Why it works
- Restricting suggestions to the supplied page list stops the model inventing a plausible-sounding URL that doesn't exist on the site.
- Requiring anchor text drawn from the actual page content keeps links natural instead of generic phrases like 'click here'.
- Capping suggestions at 5 and ranking by relevance keeps the list short enough for an editor to action directly.
Why the basic version fails
“Suggest internal links for this page” without a real page list tends to produce plausible-sounding URLs the model has invented, or generic anchor text like “learn more” that doesn’t match how the page is actually written.
What this prompt fixes
Restricting suggestions to a real, supplied page list stops fabricated URLs appearing in the output. Requiring anchor text drawn from the actual page content keeps links reading naturally rather than generic, and capping the list at 5 ranked suggestions keeps it short enough for an editor to action without further filtering.
Tips per model
- ChatGPT will invent a URL if no page list is supplied — always paste the real list, even if it’s long.
- Claude is reliable at staying within the supplied list once it’s given.
- If none of the suggestions feel relevant, the site page list is probably too narrow for this page’s topic — that’s useful information in itself, showing a genuine content gap.