Forums Forums White Hat SEO Internal linking has been solved by… Claude Code

  • Internal linking has been solved by… Claude Code

    Posted by easen0v on February 24, 2026 at 8:07 pm

    Last year I spent about two weeks prompting and coming up with an automation to insert internal links to new blog posts. It took me and a dev another two weeks to set it up in Strapi. It was iffy at best. 😅

    This week all I needed was Claude Code, access to my website's GitHub, and just point Claude Code to what internal links you want to be added. It will figure it out. Hell, if your dev team doesn't want to add you to the GitHub repo, just paste the URL of a page and tell it to find pages from your website to link from.

    So a few takeaways:

    1. Try to automate with AI as much as possible. If you have doing it, try to give it to AI.
    2. If what you're doing isn't exactly working right now, that's great! I think Anthropic CEO said that if AI can't do it just yet, it's about 6 months away from being able to.

    So, I think it's only fair to share my prompt, and it's…

    turn plan mode on by cycling with shift+tab; (i know it's abismally simple, but it works for claude code)

    Go to [LINK] —> this is my page. Read and understand it, then go to my site [domain] and give me 10 places where I can internally link to it. 
    

    easen0v replied 36 minutes ago 2 Members · 1 Reply
  • 1 Reply
  • BusyBusinessPromos

    Guest
    February 24, 2026 at 8:17 pm

    I do that of course when I’m writing new content I just link to older articles that are related, but are you saying that this will also add links to older articles to new articles?

  • KaizenKintsugi

    Guest
    February 24, 2026 at 8:29 pm

    yup that is how to do this

  • tinyhousefever

    Guest
    February 24, 2026 at 8:47 pm

    I’m using MCP via Claude/CGTP for this, very efficient.

  • threedogdad

    Guest
    February 24, 2026 at 8:53 pm

    I thought Claude won’t actually crawl so how is it just going to your domain and getting the pages?

  • chuckdacuck

    Guest
    February 24, 2026 at 9:15 pm

    Wait till you use claude desktop to go into CSC and find / fix errors….

  • The_Crawl_Father

    Guest
    February 24, 2026 at 9:18 pm

    Claude has no problem with inserting IBLs. However.. recently I made a glossary for a website, with various terms. I asked it to add a related terms section to the bottom of each page. After creating 75 pages I realised the related terms links it had been creating weren’t to pages I was creating. 195 pages later I finally solved the 404s. Lesson learnt – Stop being lazy. Or at least if I’m going to be lazy, make sure I approve each generated page.

  • BigGayGinger4

    Guest
    February 24, 2026 at 9:30 pm

    been down this road. 

    SF already does the real heavy lifting. I promise you, I swear to you, I have gotten paid in this industry for a long time, trust me that that feeding it the screaming frog crawl with ngrams is going to be more productive every single time, 10 out of 10 times, than hoping the AI will comprehensively crawl and detect appropriate opportunities. 

    I just got paid to do this very same thing at my agency.

    Yes your process works. please please please for the sake of your clients. don’t just assume that Claude got it right. every single URL on a given domain makes this more and more challenging of a task. it will also scale the costs. it’s one thing to do this with a 20-page site. an ecom site with a thousand products? no way.

  • oscaraldeguer7

    Guest
    February 24, 2026 at 9:39 pm

    Great content man!

    Just curious, what would be the process for a new article, how would you ask Claude, to crawl your entire blog and suggest interlinks? Is it able to flawlessly do that?

  • fast-pp

    Guest
    February 24, 2026 at 10:29 pm

    > I think Anthropic CEO said that if AI can’t do it just yet, it’s about 6 months away from being able to

    why are we still believing this?

  • [deleted]

    Guest
    February 24, 2026 at 11:19 pm

    [removed]

  • konzepterin

    Guest
    February 25, 2026 at 12:04 am

    Hey OP, do you then manually set the actual links that it found or does Claude also create the links? Thanks.

    (And: do you set the links both ways? The older articles linking to the new article and the new article linking to all the older articles?)

  • fitfab500

    Guest
    February 25, 2026 at 12:27 am

    Prompt it with “review sitemap ‘sitemap url’ and add relevant internal links for this article.

  • turnipsnbeets

    Guest
    February 25, 2026 at 12:35 am

    I tried using Claude with Seowriting MCP a few months ago and it mapped internal links fairly well but it couldn’t implement with WordPress.

    I’ve tested most other internal link solutions and they all fall a bit short or have software conflicts.

    Would love insights for a better practical WP solution, also considering page builders – that’s been a hiccup.

  • CerealKiller5609

    Guest
    February 25, 2026 at 2:47 am

    Nnice share. I’d still double-check the linkss for context and anchor text,but it definitely sounds like a time saver.

  • Toss4n

    Guest
    February 25, 2026 at 4:09 am

    There is no way this scales reliably. It can work for smaller SPAs/websites, but not for huge websites. The issue is simply context- Claude has a limited context window so it cannot reliably process and store the entire link edge in its context window for this to work well – and that is not even considering hallucinations that can happen as well. The best way to do internal linking currently (automatically) is embeddings and simple cosine similarity. Have Claude code write a small crawler for you => covert titles/h1s into embeddings => use cosine similarity to find top 10 similar pages that aren’t already internally linked.

Page 1 of 2

Log in to reply.