How to test internal links for SEO

Will Critchlow

6 min read

Someone born in the year I started Distilled would be learning to drive in the next year, and I still don’t really understand internal linking.

Part of the problem, of course, is that Google doesn’t tell us exactly how they think about links at all, never mind how they think about internal links, but as I’ve written about before, I don’t think that really matters. Even if they just used basic PageRank (explainer here), or if they published the exact algorithms they use to evaluate links, we wouldn’t be much better off, because the scale of the link graph is so far beyond human comprehension.

If you would like to see me talk through the issues and thoughts in this post, I recorded a video:

The slides I present in the video are embedded below.

Bring the scale back to one we can comprehend and we don’t do much better - in a quiz about a toy model of basic PageRank and a tiny site, fewer than 25% of respondents got the correct answer:

Toy model of PageRank

(The right answer is that it loses (a lot) less than the PR of the new page).

It’s easy to fall back on simple heuristics like “more interlinking is better” or “minimise the number of clicks from the homepage to reach any page, without adding more than X links per page” but it’s very unlikely that any of these actually give the best answer.

Sam Nemzer, Senior Consultant here at SearchPilot said:

Although adding individual links always feels likely to be a good idea, there is a trade-off between directing authority to most important pages vs crawl depth and crawl paths - there has to be a limit somewhere - you can’t link to every page on your website from every other page and expect it to be a good idea.

The difference between on-page and internal linking SEO tests

[If you need a primer on how SEO tests work, start here]

The big difference between regular on-page tests and internal linking tests is that the hypothesis can be about effects on the page where you are making the change (the “source” of the link) and on the pages receiving the new links (the “destination” of the links).

To run these tests we typically define a measurement section where we look for statistically significant effects. Sometimes we measure the impact separately on the source and destination pages, sometimes those are the same things.

We have a process we call salt shaking that evaluates a load of statistical features within a site section to choose groups of statistically similar pages for control and variant. That’s how we can reliably attribute measured uplifts to the changes we are testing for on-page changes, and it’s a similar process for linking tests.

There are two typical kinds of internal linking test:

  1. Randomising the link sources and link destinations: A typical test might use this process to decide which articles are going to get more related article links for example. Once the source pages are chosen, the destinations can then be selected randomly from the eligible pages in the destination group.
  2. Randomising the link destinations only: Sometimes, a test includes new links on all eligible source pages, and randomises the destinations (see for example “Adding nearby location links”). In this example, the process was quite involved - a script mapped the location page to geo coordinates, then used those to find the 5 closest variant pages to link to (a piece of analysis done by our Professional Services team).

Advanced internal linking tests

The nature of internal linking changes, as explained at the outset, is that the effects can be felt widely across the site. The most advanced level of internal linking test measures all of:

  1. The effect on the source pages (compared to a control group of pages in the same site section)
  2. The effect on the destination pages (compared to a control group of pages in the same site section) and
  3. The effect on potential destination pages that didn’t get new links (compared to a control group of pages in a different site section with comparable structure)

This third kind of experimental design relies on working with a site with a strong category / sub-category structure, but should capture the effect of the dilution of internal linking within the site section when new links are added into some of the pages within the section.

Of course, if you build an experiment like this, you will get data about the likely impact for each of the groups of pages, and will need to evaluate its performance in each area and consider the net effect and statistical significance individually and as a group.

We also have a write-up coming soon of a test measuring the impact of updating the anchor text of some existing internal links. Make sure you’re on our email list to get the case study as soon as it’s published.

Examples of internal linking tests

Testing related article links

A publisher customer experimented with adding more links to related articles and found an uplift on the “donor” pages (the source of the links), but no conclusive evidence either way for the recipient pages. It’s possible that, in that case, the UX impact or the on-page impact was bigger than the linking impact or at least more measurable.

A customer with ~8,000 regional pages across the USA tested adding links to the 6 nearest geographic regions and saw a 7% uplift in organic traffic on the pages receiving new links.

A travel customer tested expanding their homepage footer. Normally, you can’t include the homepage in a split test, but because in this case, our hypothesis was about the impact on the destination pages, we were able to use our modelling to compare the impact of the pages receiving new links to a control group that didn’t receive new links. The pages that received links from the homepage footer saw a 5% uplift in organic traffic compared to a control group of pages that didn’t receive new links.

Testing internal anchor text

In a case study that we haven’t published yet, a customer tested changing the anchor text of internal links that already existed. They didn’t add or remove any links - just changed the text to include more contextual keywords, but measured the impact in the same way as for other internal linking tests.

This was significantly positive for the destination pages, just by changing the anchor text. Subscribe here to be the first to know when we publish the full details of this test.

Slides explaining internal linking tests

Slides: how do you run internal linking tests for SEO?

Image credit: Karine Avetisyan.

SearchPilot is now carbon neutral and on a path to net zero: read more

Get a Demo

If you're interested in a short demo, please fill in this form and one of the SearchPilot team will ping you an email.

Alternatively, if you have any other questions, feel free to drop us a line at


© 2015-2022 SearchPilot. All rights reserved. Privacy policy.