Skip to main content

Internal Linking at Scale: What to Do With the Pages You Prune

· 9 min read
Indexation audit for large websites

You have finished the audit. You have a pattern, a verdict and a number of pages to deal with. Then someone asks the obvious question: what happens to the pages that link to the ones we are about to remove? It is the question that turns a tidy spreadsheet into a week of work, and it is the reason that "just delete it" is the most expensive option on the table.

The instinct is understandable. You found waste, you want it gone, and the fastest way to make it gone is a 410. But a 410 does not just remove a page. It removes the page and every internal link that pointed at it, all at once. On a site where that page was linked from forty category pages and a footer template, you have just deleted forty-one nodes from your link graph and left one URL to explain it.

That is the whole argument. Pruning is not a single-URL decision. It is a decision about a URL and its neighbourhood.

The three things you can actually do with a URL​

There are only three end states, and they are not interchangeable.

ChoiceWhat happens to the URLWhat happens to the inbound linksUse it when
301 redirectSends to a target URLKeep working, repointed at the targetA genuinely better page exists and you want its signals consolidated
ConsolidationThe source page is folded into a target pageInternal links rewritten to the targetTwo pages cover the same ground and one of them is the keeper
410 retireReturns gone permanentlyAll of them breakThe page was never worth keeping and nothing should inherit from it

The temptation is to treat the redirect and the consolidation as the same row, because in practice both end in a 301. They are not the same decision. A redirect is a navigation aid: the old URL still had a job, somebody's bookmark or external link points at it, and you are keeping the path open. A consolidation is an editorial act: you have decided one of two pages was a duplicate, you are keeping the other, and you want the surviving page to be the strongest version of itself.

Choosing between them comes down to one question. Did the old URL have a job that the new URL does not do? If yes, redirect. If no, consolidate.

The third row is the one people reach for first and it should be the rarest. A 410 is correct for the URL that genuinely has no successor: a thin tag archive from 2019, an internal search results page, a paginated listing nobody will ever visit again. It is not correct for a page you have not got around to thinking about. "No plausible successor" is a finding. "I have not looked yet" is not.

Why removal is the most destructive option​

The technical mechanics matter here. Google follows a 301, and the signals that passed through the old URL pass to the new one. When you serve a 410, there is nothing to pass. The page is gone, and every internal link that referenced it becomes a dead reference.

Dead references are not harmless. They are crawl paths that end nowhere. A crawler that follows a link from a category page into a 410 gets nothing, spends a little of its time on the fetch, and moves on. That is a small cost per link, but it is a cost that scales with the number of links you deleted, which on a large site is rarely a small number.

There is a second effect that is harder to see. A page with no inbound internal links is an orphan. Orphaned pages do get crawled, particularly if they are in a sitemap, but they receive none of the internal context that tells a crawler and a ranking system how the site is organised and what the page is about. On a large site, orphans are common enough that most teams only notice them when they already have a ranking problem.

So a 410 costs you the page and, quietly, the structural signal it was passing to whatever linked to it. If you retire a page, you should retire it knowing that the links pointing at it have already done their job and are now waste.

Finding the orphaned pages you already have​

Removal creates orphans. You also usually already have some, and the two are worth attacking in the same pass.

The reliable method is to build the inbound link count for every URL you know about and then look for the zeros. PruneSEO's crawl produces the site graph as a by-product of the fetch stage, so the data to do this already exists if you have run a crawl. Group URLs into patterns as normal, then read the graph for pages that nothing on the site points to.

Three sources of truth, in order of usefulness:

  1. The internal crawl. This catches everything the crawler could reach.
  2. Your sitemap files. A URL in a sitemap with zero inbound internal links is an orphan that Google will still be told about, which makes it a contradiction worth resolving.
  3. Search Console. Not for finding orphans, because Search Console reports what Google already knows and an orphaned page may well never have been discovered. Useful for confirming whether a specific orphaned URL ever held anything.

Exclude the pages that are supposed to be orphans. Login pages, legal pages and standalone landing pages often have no inbound internal links by design. Marking those as exceptions up front stops the exercise turning into an argument about the privacy policy.

Once the destinations are decided, the remaining work is mechanical and should be handed to something that is not a person with a spreadsheet open. That is what an internal-link plan is.

The artifact is a CSV with three columns and one row per link you intend to change or create:

  • target — the URL that should receive the link
  • suggested source — the URL on your site that is the most plausible place to put it
  • suggested anchor — deliberately empty

The empty anchor column is not an unfinished feature. It is the design. A tool that writes anchor text is a tool writing marketing copy, and it does not know what your product is called, what vocabulary your customers use, or which of two plausible phrasings is the one you would defend in a meeting. Anchor text is a small editorial decision and it belongs to the person who owns the page.

What a crawler can do reliably is the part that takes weeks by hand: find every page that currently links to a URL you are consolidating, work out the nearest sensible replacement for each one, and hand you a list of suggested sources ranked by proximity in the site graph. That is the whole value of the artifact. It is a work list, not a finished job.

A realistic row looks like this:

target,suggested_source,suggested_anchor
/category/digital-cameras/lens-primes,/guides/choosing-a-lens,
/category/digital-cameras/lens-primes,/compare/lens-comparison-chart,
/category/digital-cameras/best-lenses-under-500,
/guides/choosing-a-lens,/compare/lens-comparison-chart,

Read it as four proposed edits. One of them replaces a link to a consolidated page. Three of them create links that did not exist. All four are suggestions that a human edits, rejects or reorders.

The blank anchor is a finding too​

The interesting rows in that CSV are the ones where no plausible source exists. The crawler looked at every indexed page in the same cluster and could not find a natural place to reference the target.

That is a finding, and it is one worth more than the CSV row itself. It means the target page never had distribution inside the site. It was not a page with distribution that needs maintenance, it was a page that nobody ever linked to, which is a different and more serious problem. Either it deserves a home in the information architecture and somebody needs to write the paragraph that links to it, or it is a page that should not exist.

Both answers are useful. Neither can be produced by deleting the URL, which just converts a visible structural problem into an invisible one.

The order of operations​

Pruning campaigns go wrong when the link changes and the redirect land in the wrong order. The working sequence is:

  1. Decide destinations first. Redirect, consolidate or retire, one row per URL, before anything is generated.
  2. Rewrite internal links before the redirect goes live, not after. Links pointing at a redirected URL still work, but they pass through a hop and they carry the old anchor rather than a chosen one.
  3. Ship the redirects in the same deployment as the removals, so there is no window where the old URLs are gone and nothing is pointing anywhere.
  4. Leave the 410s for the URLs with no successor and no inbound links worth rewriting.
  5. Re-crawl afterwards and confirm the orphan count has fallen rather than risen.

On Shopify, step three has a limit worth stating plainly. Shopify cannot serve a 410. Its redirect handling is 301 only, and pruning a page there hides it from sitemaps, from search indexing and from storefront search while the URL still returns 200 to anyone holding it. Saying a page was sent to 410 on Shopify is not true. The most PruneSEO can honestly give you there is a redirect or a hide.

The campaign ceiling is 100,000 targets, which is a blast-radius limit rather than a product limit. A consolidation campaign of that size is a sign that the decision stage was skipped, not a sign of a well-executed project.

What to do next​

Take the pattern you have already triaged and add one column before you generate anything: destination. Redirect, consolidate or retire. Then run the link plan so that the internal link work arrives as a file rather than as a task someone has to remember.

PruneSEO does not change your website. It produces the files that describe the changes, and applying them belongs to you or your developer. What it will tell you, before you touch anything, is how many links each decision is about to break. That number is the argument for making the decision carefully.