Your prompt
Find orphan posts with no internal links pointing to them and add two relevant links to each from related posts.
What this prompt does
An orphan post is one that no other page on your site links to. Visitors and search engine crawlers have a hard time finding it. This prompt asks your AI assistant to find those posts and add two relevant links to each, from related posts.
The word relevant is doing the work. A link from a post about a different subject is little help to readers. The assistant should read the posts and choose places where the link naturally fits the sentence.
WordPress does not tell you which posts are orphaned. Finding them means comparing every post’s content against every other, which is the sort of repetitive reading an assistant can do for you.
Before you run it
- Back up the database. Edits to post content are saved in revisions, but a backup is easier.
- Decide whether archives, category pages or your menu count as links. Say so, or the assistant may skip posts you consider orphaned.
- Choose the posts you never want linked, such as outdated ones.
- Ask for a draft plan first: orphan, the two link sources and the anchor text.
- Tell it which post types to include. Pages and products may or may not count for you.
What to check afterwards
- Open several edited source posts and read the new sentences aloud. They should sound natural.
- Click each new link and confirm it goes to the right post.
- Check the anchor text is descriptive, not “click here”.
- Confirm no post got an excessive number of new links.
- Re-run the orphan check and see if the list shrank.
Ways to adapt it
- Change the count: “Add three links to each orphan, only from posts in the same category.”
- Protect old posts: “Do not edit anything older than two years.”
- Use drafts: “Do not change live posts. Prepare the edits and show them to me.”
- Prioritise: “Start with orphans that already get search traffic, then do the rest.”
If it goes wrong
- Links look forced. Ask the assistant to rewrite the sentence or choose a better source post.
- Some links point to the wrong post. Fix the link and ask the assistant to recheck the rest of that batch.
- A source post now has too many links. Remove the extras and ask for other sources.
Our guides to internal linking and content silos and SEO mistakes that lose traffic explain why this matters.