# Internal Linking for SEO: Evidence from 23M Links and Split Tests

> Large-scale empirical research across 23 million internal links and controlled enterprise A/B split tests proves that internal linking directly governs crawl frequency and search rankings. The strongest statistical correlation with Google traffic is anchor text variety: diverse descriptive phrases outperform rigid keyword repetition. Furthermore, keeping indexable pages within three clicks of the homepage prevents algorithmic crawl decay.

- Source: https://gradientseo.com/blog/internal-linking-seo-audit/
- Published: 2026-11-02
- Author: Jorge M.O

> Large-scale empirical research across **23 million internal links and controlled enterprise A/B split tests** proves that internal linking directly governs crawl frequency and search rankings. The strongest statistical correlation with Google traffic is **anchor text variety**: diverse descriptive phrases outperform rigid keyword repetition. Furthermore, keeping indexable pages within **three clicks of the homepage** prevents algorithmic crawl decay.

Most internal linking advice relies on informal heuristics: "link related pages," "match your keywords," or "stop link equity leakage." These general rules offer little help when planning site migrations or auditing large web architectures.

Over recent years, search engineering datasets have expanded. Studies covering tens of millions of live URLs, controlled enterprise split-tests, and Google patents now offer verifiable benchmarks for internal link architecture.

This guide reviews findings from major empirical studies and engineering documentation within [Technical SEO](/technical-seo/) and [Site Architecture & Migrations](/technical-seo/site-migrations/).

![Evidence review of 23 million internal links and enterprise split test findings](https://gradientseo.com/visuals/hero-internal-linking-23m.png)

## What did Cyrus Shepard's 23 million internal link study find?

The largest published dataset on internal linking comes from an investigation led by [Cyrus Shepard at Zyppy](https://zyppy.com/seo/internal-links/). The study analyzed **23 million internal links across approximately 1,800 websites** and correlated structural crawl configurations directly with Google Search Console traffic performance.

The dataset evaluated how link counts, placement types, and anchor phrasing interact with search visibility. Several clear empirical patterns emerged:

- **The volume sweet spot:** URLs receiving a moderate volume of internal links—specifically between **40 and 50 internal links**—showed the strongest median organic search clicks compared to isolated pages receiving 1 to 5 inbound links.
- **Plateau and boilerplate dilution:** Beyond 50 internal links per URL, the positive traffic correlation flattened. Adding hundreds of sitewide footer or navigation links diluted equity toward utility URLs rather than raising rank signals.
- **Anchor text variety as the primary signal:** The strongest positive correlation with Google search clicks was **anchor text variety**. Pages linked with diverse lexical variations consistently outperformed URLs receiving repetitive exact-match phrases.
- **Exact match anchors in moderation:** While variety proved essential, having **at least some exact match anchor text** remained positively associated with strong rankings, confirming that descriptive topical relevance still matters.
- **Naked URL anchors do no harm:** Inbound internal links using raw target URLs (`https://example.com/target`) exhibited neutral-to-positive correlation with search traffic, dispelling the myth that naked URLs harm internal page equity.
- **Empty anchor text in image links:** Approximately 6% of analyzed internal links lacked anchor text (unoptimized image links). The study found **no negative performance penalty**, provided target pages also received contextual text links elsewhere.

## How do controlled enterprise A/B split tests measure internal link impact?

While correlational datasets highlight industry-wide patterns, they cannot isolate causality. High-traffic URLs often benefit from historical authority, brand searches, and extensive external backlinks.

To establish causality, [SearchPilot's SEO split-testing platform](https://www.searchpilot.com/resources/case-studies/) tests structural internal link changes on enterprise platforms using Bayesian structural time-series models (CausalImpact).

Controlled tests have produced three concrete findings on how Googlebot responds to internal graph changes:

- **Converting plain-text mentions into links:** On a large e-commerce catalog, engineers converted unlinked brand text mentions on product detail pages into active internal links pointing to brand category pages. The change delivered a **+18% statistically significant increase in organic traffic** to category landing pages.
- **Bidirectional category-to-subcategory linking:** In an online supermarket test, adding links from top-level category pages down to subcategories increased traffic for **both parent and child pages**. This disproved the zero-sum "link juice leakage" myth, proving that clarifying topical hierarchies reinforces mutual relevance.
- **Collapsible navigation containers:** Testing link blocks placed behind interactive accordion modules ("Show More") verified that Googlebot extracts and evaluates links that exist in the pre-rendered HTML DOM, without penalizing collapsed visual states.

These findings confirm that internal links actively shape discovery and relevance paths, reinforcing concepts explored in our research on [topical maps and semantic graphs](/blog/topical-maps-semantic-graph/).

![Topical hub internal linking architecture with bidirectional parent and child flows](https://gradientseo.com/visuals/fig1-internal-link-hub.png)

## Why does crawl depth decay rank potential across large sites?

Large-scale crawl datasets published by [Ahrefs' internal link studies](https://ahrefs.com/blog/internal-links/) demonstrate an inverse relationship between **crawl depth** (the number of clicks from the homepage) and search engine performance.

In website graph theory, distance from the root URL dictates how search bots discover and prioritize pages:

```
Homepage (Depth 0) ──> Main Categories (Depth 1) ──> Subcategories (Depth 2) ──> Core Guides (Depth 3) ──X Deep Archive (Depth 4+)
                      [Frequent Crawling & Peak Internal PageRank]              [Severe Crawl & Authority Decay]
```

	![Path from the homepage through category, subcategory and core guide pages at depths 0 to 3, then deep archive pages at depth 4 and beyond marked as decaying](https://gradientseo.com/visuals/fig26-crawl-depth-path.png)
	Crawl depth as clicks from the homepage: depths 1 to 3 are the reference zone; depth 4 and beyond is where crawl frequency drops.

Crawl analyses across millions of domains highlight three recurring operational patterns:

- **The 3-click benchmark:** Pages located at crawl depths 1, 2, and 3 capture the highest concentration of internal PageRank and experience frequent, predictable Googlebot revisits.
- **Exponential crawl decay beyond depth 3:** When a URL sits 4 or more clicks away from the homepage, Googlebot crawl frequency drops sharply. As detailed in our guide on [Python server log analysis](/blog/python-server-log-analysis-seo/), search engines allocate finite crawl budgets, frequently skipping deeply buried pagination.
- **The orphan page problem:** Site audits consistently uncover orphan pages—URLs that appear in XML sitemaps but have zero internal links within HTML templates. Orphan URLs routinely underperform in Search Console impressions regardless of external backlinks.

Tracking how crawl depth shifts affect impressions over time requires continuous monitoring, as covered in our tutorial on [Search Console position tracking](/blog/search-console-position-buckets-python/).

## What does Google's documentation and Reasonable Surfer patent confirm?

Empirical testing closely matches Google's published specifications and foundational engineering patents.

Google defines link extraction requirements across three core developer documents.

These include [Link Best Practices](https://developers.google.com/search/docs/crawling-indexing/links-crawlable), the [SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide), and [JavaScript SEO Basics](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics).

Googlebot parses internal markup according to strict syntax requirements:

| Markup Pattern | Googlebot Parsing Behavior | Technical Standard |
| :--- | :--- | :--- |
| `<a href="/category/seo/">SEO</a>` | Extracted and crawled reliably | Complies with [W3C HTML URL standards](https://www.w3.org/TR/html52/links.html#links) |
| `<a href="/page/" onclick="track()">` | Followed; auxiliary attributes allowed | Valid `href` preserved |
| `` or `` | Ignored by link extraction pipeline | Non-standard; search crawlers discard |
| `<a href="javascript:void(0)">` | Uncrawlable; link target discarded | Avoid script pseudo-protocols |
| `<a href="#/products/item">` (hashbang routing) | Unresolvable; fragment stripped | Use standard History API paths |
| Injected via client-side JavaScript | Parsed only if rendered in initial DOM | Ensure pre-rendering or SSR |

Beyond syntactic HTML extraction, Google weights internal links algorithmically. Under Google's **Reasonable Surfer Model patent ([US7716225B1](https://patents.google.com/patent/US7716225B1/en))**, invented by Jeffrey Dean et al., search algorithms calculate link equity based on user click probability.

Links placed prominently within editorial body copy receive higher algorithmic weight than identical links placed in footers or crowded sidebars. This patent explains why in-body contextual links drive measurable ranking changes in split tests, while sitewide footer blocks offer diminishing returns.

Proper internal link structure also coordinates with [canonical tag auditing](/blog/canonical-tag-self-audit/) and [robots.txt crawler access controls](/blog/robots-txt-check-ai-crawlers/).

## How do you audit internal link equity and anchor text diversity?

Based on empirical benchmarks, technical teams can audit internal link graphs by measuring three specific variables: inbound link counts, anchor lexical diversity, and crawl depth.

The following Python script evaluates an exported HTML or markdown content directory, extracts relative internal links, and calculates the anchor diversity ratio per page:

```python

from collections import defaultdict
from pathlib import Path

def audit_link_graph(content_dir: Path):
    """Audits internal links and anchor text diversity across source files."""
    files = list(content_dir.glob("**/*.mdx")) + list(content_dir.glob("**/*.html"))
    slugs = {f.stem for f in files}
    
    inbound_links = defaultdict(set)
    anchors_by_target = defaultdict(list)
    link_pattern = re.compile(r'\[([^\]]+)\]\((/blog/[a-z0-9-]+/?)\)')
    
    for f in files:
        text = f.read_text(encoding="utf-8")
        for anchor_text, url in link_pattern.findall(text):
            target_slug = url.strip("/").split("/")[-1]
            if target_slug in slugs and target_slug != f.stem:
                inbound_links[target_slug].add(f.stem)
                anchors_by_target[target_slug].append(anchor_text.strip().lower())
                
    print(f"Total documents scanned: {len(slugs)}")
    print(f"{'Target Page':42} {'Inbound':>8} {'Unique Anchors':>15} {'Diversity':>12}")
    print("-" * 80)
    
    orphan_count = 0
    for slug in sorted(slugs):
        in_count = len(inbound_links[slug])
        anchors = anchors_by_target[slug]
        unique_anchors = len(set(anchors))
        ratio = (unique_anchors / len(anchors)) if anchors else 0.0
        if in_count == 0:
            orphan_count += 1
        print(f"{slug:42} {in_count:>8} {unique_anchors:>15} {ratio:>12.2f}")
        
    print("-" * 80)
    print(f"Orphan pages identified (zero inbound links): {orphan_count}")

if __name__ == "__main__":
    audit_link_graph(Path(sys.argv[1]))
```

When reviewing the script output, evaluate three architectural thresholds:

- **Eliminate zero-inbound orphan pages:** Ensure every indexable URL receives at least 2 to 3 contextual links from parent cluster pages.
- **Maintain a healthy anchor diversity ratio:** An anchor diversity ratio below 0.30 signals rigid repetition that fails to target natural search variations.
- **Flatten URL crawl depth:** Restructure pagination and subcategory hubs so critical content sits within 3 clicks of the root domain.

## What are the most common internal linking mistakes on large sites?

Large-scale site audits frequently expose four recurring internal linking flaws:

- **Over-relying on global navigation:** Placing 500 links in a dropdown menu does not substitute for contextual linking. Search algorithms discount dense navigation blocks under Reasonable Surfer calculations.
- **Repetitive exact-match keyword stuffing:** Forcing identical anchor phrasing across hundreds of links creates an unnatural anchor footprint. The Zyppy dataset confirms that top-ranking pages exhibit varied descriptive anchors.
- **JavaScript click handlers without crawlable hrefs:** Modern single-page frameworks that bind navigation to click events without standard `<a href>` attributes prevent search bots from discovering underlying URLs. A script that [compares raw and rendered links](/blog/javascript-seo-raw-vs-rendered-html/) lists them.
- **Hoarding internal links out of dilution fears:** Avoiding outbound internal links to keep "link juice" trapped on a page is counterproductive. Controlled split-tests demonstrate that linking to child pages strengthens the entire cluster.

Links help crawlers find pages; an [XML sitemap generator in Python](/blog/xml-sitemap-generator-python/) covers the pages that links do not reach.

For the planning step before the links, see [content marketing SEO: strategy and what Google rewards](/blog/content-marketing-seo-strategy/).

## Frequently asked questions

### Does adding internal links dilute the ranking power of the source page?
No. Controlled enterprise split-tests conducted by SearchPilot demonstrated that adding structured internal links from category pages to subcategories produced traffic gains for both parent and child URLs. Establishing clear topical relationships improves site architecture without cannibalizing parent authority.

### How many internal links should a single web page contain?
Large-scale correlation data from 23 million links indicates that pages receiving roughly 40 to 50 internal links achieve optimal search traffic performance. Beyond 50 links, traffic gains plateau due to link equity dilution, though exact numbers depend on overall site size and depth.

### Does anchor text variety matter more than exact match keywords?
Yes. Statistical analyses show that anchor text variety correlates more strongly with Google Search Console traffic than rigid keyword repetition. While including occasional exact-match anchors supports keyword relevance, natural lexical variations and descriptive phrases capture broader search queries.

### Can Googlebot follow internal links inside JavaScript dropdowns?
Googlebot can follow internal links inside JavaScript dropdowns and accordion menus if the links exist as valid `<a href="...">` elements in the rendered DOM. Links created dynamically only after user interaction (such as mouse hover or click) remain invisible to search crawlers.
