Skip to content
How-To Guides

Internal Linking for SEO: A Practical Guide

14 min readPublished By Sanju Joseph

Internal links are the links from one page on your site to another page on the same site. They are the cheapest, most controllable SEO lever you have: you do not need anyone's permission to add them, they cost nothing, and they shape how search engines discover, understand, and rank every page you publish. Yet on most sites they are an afterthought, added by whoever happened to be writing that day, with no plan behind them.

This guide treats internal linking as a system rather than a habit. You will learn what search engines actually take from an internal link, how to write anchor text that helps rather than hurts, how to keep important pages close to the homepage, how to find and rescue orphan pages, how hub pages and topic clusters work in practice, and why you should almost never put nofollow on your own links. It finishes with a repeatable audit you can run in an afternoon, notes for WordPress and Shopify, and answers to the questions people ask most often. If you are new to the basics, start with what SEO is and come back.

What an Internal Link Actually Does

A single internal link does three separate jobs at once, and it helps to keep them apart in your head because each one fails in a different way.

  1. Discovery. Search engine crawlers find new URLs mostly by following links. A page that nothing links to can still be found through an XML sitemap, but a sitemap only says "this URL exists". A link from a relevant page says "this URL exists and it matters in this context".
  2. Context. The words in and around a link tell search engines what the destination page is about. Google's own link documentation describes anchor text as helping both people and Google make sense of the linked page. A page that is consistently linked with the words "XML sitemap" builds a clearer topical signal than one linked with "read more".
  3. Importance. Links pass signals of importance between pages. Google has described PageRank as one of many signals it uses, and while the original formula is decades old and heavily modified, the basic idea still holds: pages that receive more links from important pages tend to be treated as more important. Your homepage usually has the most external links, so how you link out from it decides where that importance flows next.

When rankings stall for a page that is well written and technically sound, weak internal linking is one of the first things worth checking, because it is often the difference between a page Google knows about and a page Google thinks is central to your site.

What Counts as a Crawlable Link

Search engines can only follow links they can recognise. Google's documentation is explicit that it can reliably crawl a link when it is an HTML <a> element with an href attribute that resolves to a real URL. Anything else is a gamble.

<!-- Crawlable: a real anchor with a real URL -->
<a href="/blog/canonical-tags-guide">how canonical tags work</a>
<a href="https://example.com/pricing">see our pricing</a>

<!-- Not reliably crawlable -->
<a onclick="goTo('/pricing')">pricing</a>          <!-- no href -->
<span data-href="/pricing">pricing</span>          <!-- not a link element -->
<a href="javascript:goTo('/pricing')">pricing</a>  <!-- no real URL -->
<a href="#pricing">pricing</a>                      <!-- fragment only, same page -->

This matters most on JavaScript-heavy sites, where a hand-built component may use click handlers instead of real links. Also note that URL fragments (everything after #) are not treated as separate pages, so "links" to #section help readers jump around but do not count as links to a different URL.

To see what a crawler sees, run a page through our internal link analyzer. It lists every internal link it finds in the HTML, so any navigation that is missing from the list is navigation a search engine probably cannot follow either.

Anchor Text: Descriptive, Natural, and Varied

Anchor text is the clickable text of a link. Google's guidance asks for anchor text that is descriptive, reasonably concise, and relevant to both the page it sits on and the page it points to. In practice that gives you three simple rules.

Describe the destination

The reader should be able to predict what is on the other side before they click. "Our robots.txt guide" passes that test. "Click here", "this article", and "learn more" fail it, because they tell neither the reader nor the crawler anything.

Keep it short and natural

Two to six words is a sensible range. Do not wrap a whole sentence in a link, and do not jam the exact keyword into a sentence where it reads awkwardly. A link should read as part of the sentence, not as a label stuck on top of it.

Vary it across the site

You do not need to engineer a "natural profile" for internal anchors the way link builders worry about backlinks, but variation still helps: if twenty pages link to your sitemap guide, some saying "XML sitemap", some "sitemap file", and some "how to submit a sitemap", you give a fuller picture of what the page covers.

Anchor textVerdictWhy
click herePoorSays nothing about the destination
https://example.com/blog/post-123WeakA bare URL rarely describes the content
the best cheap XML sitemap guide for SEO 2026 freePoorStuffed, unreadable, looks manipulative
how to fix a canonical mismatchGoodSpecific, short, matches the destination
our guide to link buildingGoodNatural and descriptive

Image links deserve a mention: when an image is the link, its alt attribute acts as the anchor text. An image link with an empty alt is effectively an anchor with no words. Check yours with the image alt checker, and review the anchors on any page with the anchor text analyzer, which groups them so repeated vague phrases stand out immediately.

Click Depth and Site Architecture

Click depth is the number of clicks it takes to reach a page starting from the homepage. A page linked from the homepage has a depth of one; a page you can only reach through the homepage, then a category, then page seven of an archive, might sit at depth nine.

Depth matters for two reasons. Crawlers tend to visit shallow pages more often, and pages close to the homepage tend to receive more internal importance. Google's John Mueller has said publicly that how far a page is from the homepage in clicks matters more to Google than how its URL folders are arranged, which is a useful corrective to the common belief that a deep URL path like /a/b/c/d/page is the problem. The folder structure in a URL is mostly cosmetic; the click path is what counts.

The often-quoted "three clicks" rule is a rule of thumb, not a Google requirement. A better goal is: every page you want to rank should be reachable in as few clicks as your site's size reasonably allows, and your most valuable pages should be the shallowest. On a 50-page site, everything can be within two clicks. On a 200,000-product store, four or five is realistic for long-tail items, provided the category and filter pages in between are themselves useful.

Flatten without flattening everything

Linking every page from the homepage is not the answer, because a homepage with 2,000 links tells crawlers nothing about which ten matter. Instead:

  • Link your core money pages and top categories from the main navigation.
  • Give each category page links to its most important children, not just a paginated list.
  • Add "popular" or "start here" sections that lift your best long-tail pages up a level.
  • Replace deep pagination with smarter category splits where possible (see the section on archives below).
  • Use breadcrumbs on every page below the homepage, so each page links back up the tree. Mark them up with our breadcrumb schema generator so search engines can show the path in results.

Hub Pages and Topic Clusters

A topic cluster is a group of pages that cover one subject from several angles, connected through a central hub page. The hub gives a broad overview and links out to each detailed page; each detailed page links back to the hub and, where it genuinely helps the reader, to its siblings.

Take this blog as an example. A hub on technical SEO, such as our technical SEO checklist, links out to deep dives on XML sitemaps, canonical tags, redirects, and robots.txt. Each of those links back to the checklist and across to each other at the points where the topics touch: the sitemap guide mentions canonicals when it explains which URLs belong in a sitemap; the canonical guide mentions redirects when it compares the two.

Why this works:

  • It makes topical coverage visible. A dense set of relevant links between related pages helps search engines see that you cover a subject thoroughly rather than in one thin article.
  • It concentrates importance. The hub collects links from every child, which tends to make it the strongest page for the broad term, while the children compete for the specific ones.
  • It reduces cannibalisation. When you plan the cluster deliberately, you decide which page owns which query, and you stop writing three near-identical articles that fight each other. Our keyword research guide covers how to map queries to pages before you write.
  • It helps AI systems too. Answer engines that retrieve passages from your site benefit from the same clear structure. See the AI Overviews guide and the AEO checklist for how structure feeds into citations.

How to build a cluster from what you already have

  1. List every page on one topic. Your sitemap and a site search (site:example.com sitemap) are a quick start.
  2. Pick or write the hub: the broadest, most complete overview.
  3. From the hub, link to every child with a descriptive anchor and one sentence explaining what the child adds.
  4. From each child, link back to the hub near the top or in the introduction, where it reads naturally.
  5. Add sibling links only where a reader would actually want to jump: a mention of a concept that another page explains in depth.
  6. Merge or redirect any child that duplicates another; the redirects guide explains how to do that without losing rankings.

Orphan Pages: Found Only by Accident

An orphan page is a page that no other page on your site links to. It may still be in your sitemap, it may even have backlinks, but inside your own site it is invisible. Orphans are common after redesigns, migrations, campaign launches, and CMS changes, where a page survives but the links to it are removed.

Orphans hurt in three ways: crawlers visit them rarely, they receive no internal importance, and visitors cannot find them. Some are deliberate (a paid-ads landing page you do not want in navigation), but most are accidents.

How to find them

The method is a comparison: take the list of URLs you think exist (from your sitemap, CMS export, or analytics) and compare it with the list of URLs reachable by following links from the homepage. Anything in the first list but not the second is an orphan. Our orphan page detector does a quick version of this by checking which sitemap URLs your homepage does not link to, which is a fast way to surface likely candidates before a full crawl. For a deeper pass, crawl the whole site with a desktop crawler and compare its URL list to your sitemap.

What to do with each orphan

The orphan is...Action
Valuable and currentLink to it from its hub and two or three related pages
Valuable but outdatedUpdate it, then link to it
A duplicate of a better page301 redirect it to the better page
Thin and uselessRemove it (404 or 410) and drop it from the sitemap
Deliberately hidden (ads landing page)Leave it, but consider noindex if it duplicates other content

Navigation, Footer, and Sidebar Links

Sitewide links (in the header, footer, or sidebar) appear on every page, so they are the most repeated links on your site. That makes them powerful for discovery and for signalling which pages are core, but it also means each one is diluted across thousands of identical copies.

Google has long said it understands page layout and treats boilerplate (repeated template content) differently from the main content of a page. A link placed inside a paragraph, where an author chose it because it was relevant, carries clearer context than the same link in a footer that appears everywhere. Use each type for what it is good at:

  • Header navigation: your main sections and highest-value pages. Keep it short enough that a human can scan it.
  • Footer: legal pages, contact, about, and perhaps a handful of key categories. Resist the "SEO footer" of fifty keyword-stuffed city or service links; it looks spammy and helps little.
  • Sidebars and "related" widgets: useful for lifting relevant pages, especially when they are chosen by topic rather than by date.
  • Contextual links inside the body: where the strongest relevance signals live. This is where most of your deliberate internal linking effort should go.

Should You Nofollow Internal Links?

Almost never. The rel="nofollow" attribute tells search engines you do not vouch for a link. It was designed for links you do not control or endorse (paid placements, comments), not for steering importance around your own site.

Years ago, some SEOs used internal nofollow to "sculpt" PageRank, adding it to links like "login" or "terms" so more value would flow to important pages. Google's Matt Cutts explained back in 2009 that this does not work the way people hoped: the value assigned to a nofollowed link is not redistributed to the other links on the page, it simply evaporates. Since 2019 Google treats nofollow as a hint rather than a strict rule, which makes the tactic even less predictable.

<!-- Don't: nofollow on your own pages wastes value and blocks discovery -->
<a href="/pricing" rel="nofollow">Pricing</a>

<!-- Do: a normal link. If a page shouldn't rank, use noindex on that page -->
<a href="/pricing">Pricing</a>

If there are pages you do not want in search results (thank-you pages, internal search results, filtered views), control that on the page itself with a noindex robots meta tag, or keep crawlers out of low-value URL patterns with robots.txt, and point duplicate variants at the main version with a canonical tag. To spot stray internal nofollows left behind by an old plugin or theme, run key pages through the nofollow/dofollow checker, which labels every link as internal or external and followed or not.

Links That Waste Crawls: Redirects, 404s, and Parameters

Internal links should point at the final, canonical, working URL. Every time an internal link goes somewhere else first, you make crawlers do extra work and you send mixed signals about which URL is the real one.

  • Links to redirects. After a migration, old internal links often point to URLs that now 301 to new ones. The redirect works, but each hop costs a crawl request and adds latency for users. Update the links to point straight at the destination. The redirect chain checker shows how many hops a given link takes.
  • Links to 404s. Broken internal links send visitors to a dead end and waste crawl effort. Find them on any page with the broken link checker.
  • Links to non-canonical variants. Linking to /product?ref=home, http:// versions, or the non-preferred www form tells Google those variants matter. Link to the clean canonical URL every time.
  • Tracking parameters on internal links. UTM parameters are for traffic arriving from outside (emails, ads, social). Putting them on internal links creates duplicate URLs and overwrites the original traffic source in analytics. Keep the UTM builder for external campaigns only.

Archives, Pagination, and Faceted Navigation

Blogs and stores generate long lists: tag archives, date archives, page 2 to page 40 of a category, and filter combinations. These lists are often where older content goes to die, because each new post pushes everything else one page deeper.

A few habits keep long lists healthy:

  • Use normal, crawlable <a href> links for pagination (page 2, 3, 4), not only an infinite scroll or "load more" button. Google stopped using rel="next" and rel="prev" as an indexing signal in 2019, so the visible links are what matter. Our pagination checker shows what a paginated page exposes.
  • Do not canonicalise page 2 onward to page 1; each page in the series lists different items. The canonical tags guide explains why.
  • Prune or consolidate tag pages that hold one or two posts. Dozens of near-empty tag archives create thin pages and dilute internal links.
  • For stores, decide which filter combinations deserve to be indexable landing pages (for example "men's waterproof jackets") and link to those deliberately. Keep the endless combinations out of the index.

WordPress and Shopify Notes

WordPress

  • The block editor has built-in link search: select text, press Ctrl+K (Cmd+K on Mac), and type part of a post title to link to it without copying URLs.
  • SEO plugins such as Yoast SEO Premium and Rank Math suggest related internal links while you write. Treat the suggestions as a shortlist, not an instruction; only add the ones a reader would actually click.
  • Default themes often output category, tag, author, and date archives. Decide which are useful, and set the rest to noindex in your SEO plugin rather than leaving hundreds of thin archives competing for crawl attention.

Shopify

  • Shopify makes the same product available at /products/handle and inside collections at /collections/name/products/handle. The collection-scoped version canonicalises to /products/handle, but some themes link to it from collection grids using Liquid's within filter. Linking straight to the canonical /products/ URL is cleaner; check how your theme builds product links before editing it.
  • Use the navigation editor (Online Store, then Navigation) to keep header and footer menus focused on top collections.
  • Blog posts are one of the few places Shopify gives you free-form contextual links. Link from buying guides to the specific collections and products they discuss, and from collection descriptions back to the guides.

A Repeatable Internal Linking Audit

Run this every quarter, or after any redesign or migration. It takes an afternoon on a small site.

  1. Collect your URL list. Export the sitemap and confirm it is clean with the sitemap validator.
  2. Crawl from the homepage. Use the DarnItSEO site audit or a desktop crawler to record every page reachable by links, with its click depth and number of incoming internal links.
  3. Find orphans. Compare the two lists, starting with the orphan page detector for quick wins.
  4. Sort pages by value. Pull the pages that earn traffic, leads, or sales from your analytics and Search Console. Note their depth and incoming link counts. Valuable pages that are deep or poorly linked are your priority list.
  5. Fix broken and redirected links. Update every internal link that returns a 404 or passes through a redirect.
  6. Review anchors on key pages. Replace vague anchors ("click here", "read more") with descriptive ones.
  7. Add contextual links. For each priority page, find three to five existing pages that discuss the same topic and add a natural link from each. Searching your own site (site:example.com "topic phrase") is the quickest way to find candidates.
  8. Remove internal nofollows unless there is a specific reason for them.
  9. Re-crawl and compare. Confirm depth dropped and incoming link counts rose for the pages you worked on.

Expect results over weeks, not days, as crawlers revisit the updated pages. Track impressions for the target pages in Search Console.

Common Internal Linking Mistakes

  • Linking the same page five times from one article. Repeating a link to the same URL adds little for search engines (many SEO tests suggest only one of the anchors is taken into account, though Google has never documented exactly how it handles this), and repeated links clutter the page for readers. Once or twice is plenty.
  • Using the exact same anchor for two different pages. If "SEO audit" links to your guide in one post and to your pricing page in another, you blur which page should rank for it.
  • Hiding links behind interactions. Tabs, accordions, and "show more" content is fine if the links are in the HTML on load. Links injected only after a click may never be seen.

Frequently Asked Questions

How many internal links should a page have?

There is no fixed number. Google once suggested keeping links per page to "a reasonable number", and the old "100 links" figure came from that era, but it has not been a hard limit for a very long time. Add links where they help the reader. A 3,000-word guide might naturally have 15 to 30 contextual links; a short product page might have five plus navigation.

Do internal links pass PageRank like backlinks do?

Yes, links between your own pages pass importance in a similar way, which is why your homepage's strength can be shared with the pages it links to. The difference is that external links bring new importance into your site, while internal links only redistribute what you already have. That is why building quality backlinks and having a sensible internal link structure work best together.

Is exact-match anchor text risky for internal links?

Much less than for backlinks. You control your internal links, and Google knows it. Still, write anchors for readers first. Descriptive anchors that naturally include the topic are ideal; forcing the same exact keyword into every link adds nothing.

Can internal links help a page that is not indexed?

Often, yes. "Discovered, currently not indexed" in Search Console frequently means Google knows the URL but has not prioritised crawling it. Linking to it from strong, frequently crawled pages is one of the best ways to raise its priority. Check first that nothing else is blocking it with the indexability checker.

How do internal links relate to local and AI search?

For local businesses, linking location pages from a clear "areas we serve" hub and from relevant service pages helps both users and crawlers; see the local SEO guide. For AI search, clear topical clusters make it easier for retrieval systems to find the best passage on your site for a question. The SEO checklist includes internal linking checks you can tick off alongside everything else.