Blog / AI & search /

AI for internal linking suggestions: a workflow

You run an internal-link audit and end up with a spreadsheet of 80 possible connections. A few are great. Plenty look sensible only because two pages both say “SEO”. Sorting that pile by hand is dull, which is exactly why people hand it to AI.

Fine, but keep it in its lane. AI is a decent triage assistant. Give it a controlled set of page summaries, ask for candidates with reasons, then check every link yourself. I wouldn’t let a model edit a live site, or create links based on matching words alone.

Start with a clean inventory

Before asking for anything, crawl the site and collect canonical URLs, titles, headings, status codes and existing inlinks. Add a short summary of what each page is for. Without that, a tool will happily link two pages just because their titles share a word.

Strip out duplicates, redirected URLs, noindex pages and anything that shouldn’t get search traffic. On client sites, I don’t paste private content or client details into an AI service without permission. Public URLs and short summaries are usually enough to explore how pages relate.

Decide what you want to improve. Are you connecting orphan pages, strengthening a topic cluster or helping readers move from a guide to a relevant service? Different goals produce different candidate links.

Ask for candidates, not automatic edits

Give the tool a small batch of source and destination descriptions. Ask it to propose a link only when the destination answers a useful follow-up question, and to give a reason, a location and anchor text. Tell it to flag uncertainty and never invent what a page contains.

What you want back is a shortlist, not a list of commands. Ask why a reader on page A would want page B. If the answer is “both mention SEO”, reject it. A strong internal link has a real relationship and offers a genuine next step.

You can also ask it to group pages by subject or identify pages with few incoming links. Treat those results as leads. A crawl is more reliable for counts; the model is useful for helping a human think through meaning.

Verify each recommendation

Open both pages. Confirm the destination is live, relevant and not a redirect or duplicate. Read the paragraph where the link would go and see if it flows. The anchor should describe the destination, not repeat a keyword awkwardly.

Check whether the link already exists elsewhere on the page. More links aren’t automatically better. If the connection matters, add one clear contextual link instead of scattering the same anchor through every section.

Then look at direction. A new article often needs a link from an older, relevant page. A link only going out from the new page won’t help anyone find it. I treat links as a two-way job: connect new work into the site, and go back through the old pages for sensible routes to it.

A controlled workflow

  1. Crawl and export canonical pages with titles, status and inlink counts.
  2. Add concise summaries for pages where the purpose is not obvious.
  3. Ask AI for a limited set of candidate relationships and reasons.
  4. Review every pair against the actual page content and reader journey.
  5. Add links manually or through a reviewed CMS change.
  6. Crawl again to verify URLs, anchors and status codes.
  7. Keep a record of rejected suggestions and why they were weak.

Keep a log so you can tell whether the prompt is earning its place. If the tool keeps proposing generic matches, improve the page summaries or stop using it for this step.

Avoid these failure modes

  • Keyword-only matching: lexical similarity is not the same as a useful relationship.
  • Overlinking: too many links in a paragraph make reading harder.
  • Wrong destination: the suggested page may be outdated, redirected or aimed at a different audience.
  • Invented page summaries: a model may confidently describe content it has not seen.
  • Unreviewed publishing: automation can create hundreds of mistakes very quickly.

Keep the prompt grounded in the inventory

Suggestions get better when each page has a short, specific purpose statement: the audience, the question it answers and the kind of evidence on it. Don’t send only a title. Titles can be vague and may not match the finished article. If a page has changed recently, use the current version, or date the summary.

A simple spreadsheet covers the review: source URL, target URL, why the link helps, proposed anchor and your decision. It stops a second person repeating the audit, and shows whether the workflow is saving time. If the model keeps missing the same context, fix the inventory before piling on prompt instructions.

FAQ

Can AI find orphan pages?

A crawler can find pages with few or no inlinks more reliably. AI may help you decide whether those pages deserve links after you supply their purpose.

Should I use AI-generated anchor text?

Treat it as a draft. Check that the anchor accurately describes the target and reads naturally in the source sentence.

Some repetitive rules can be automated, but contextual links need editorial judgement. Test a small set and review the result before scaling.

Give an AI tool five page summaries and ask for three candidate links with reasons. How many survive once you’ve read both pages?