# Recover backlinks to broken URLs

Find live external links that land on missing pages and match each to a repair that serves the original visitor intent.

## What you need

- A broken-backlink or historical backlink export with source URLs, destination URLs, and anchor text.
- The site’s old-to-new URL map, current content inventory, and expected outcomes for retired pages.
- Optional referral data to help order the work and first-party evidence for important URLs.

## Steps

### 1. Group the links by target URL

Group incoming links that point to the same destination. Keep representative referring pages, anchor text, and any available date or referral evidence. Separate links reported as lost so they can be checked independently.

### 2. Verify the source link and destination

Open a sample of referring pages to check that the link still exists and read its context. Request the destination, follow its redirects, and record the final URL and status. Check what visitors see when a page returns 200 but appears to contain an error or unrelated content.

### 3. Find the closest replacement

Compare the anchor and referring-page context with the old and current page content. Restore a page when its original purpose is still useful and no replacement exists. Propose a permanent redirect for a page that has moved to a genuinely equivalent destination.

### 4. Prioritize repairs by evidence

Move URLs up the list when live links come from relevant sources, visitors still reach the old destination, or the fix serves a high-priority page. Flag important cases with no equivalent for editorial review and record the expected status for deliberately retired content.

### 5. Verify the repaired destination

Retest from the original linked URL and follow the full redirect path. Confirm the final page serves the promised content and preferred canonical. Record the verification date and the referring pages to check again.

## Sample backlink repair queue

Each proposed action follows from the context of the link that visitors see.

| Old target | Referring context | Response | Proposed action |
| --- | --- | --- | --- |
| /guide/heat-pumps | Local energy resource list | 404 | Redirect to the revised heat pump guide. |
| /download/rebate-form | Council page links to a form | 200 with missing-file message | Restore the current form or point the source to its official replacement. |
| /temporary-offer | Expired coupon listing | 410 | Keep the retirement status. Record that the campaign has ended. |

## Prompt for your agent

Review this backlink export [attach export] against [site] and its URL map. Group by exact linked target, verify representative source links, and record old destination, redirects, final response, anchor context, and source evidence. Return a prioritized repair queue with a proposed restore, equivalent redirect, or retirement action for each target. Explain why any replacement matches the linked resource and include an HTTP and content retest.

## Tools for this job

- [Ahrefs](https://seotoolsforagents.com/mcp-servers/ahrefs.md) — Review backlinks, keyword opportunities, and project audits before planning SEO work.
- [Semrush](https://seotoolsforagents.com/mcp-servers/semrush.md) — Research keywords, compare organic competitors, and review eligible project data.
- [Screaming Frog](https://seotoolsforagents.com/mcp-servers/screaming-frog.md) — Use SEO Spider crawl outputs to investigate site structure and page-level issues.
- [Google Search Console](https://seotoolsforagents.com/mcp-servers/google-search-console.md) — Investigate Google Search clicks, impressions, queries, and inspection data for properties you can access.

## Sources

- [Ahrefs Broken backlinks report](https://ahrefs.com/academy/how-to-use-ahrefs/site-explorer/broken-backlinks)
- [Google’s redirect reference](https://developers.google.com/search/docs/crawling-indexing/301-redirects)
- [Google’s guide to HTTP status codes](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes)

## Where to go next

- [Audit AI crawler access](https://seotoolsforagents.com/workflows/audit-ai-crawler-access.md)
- [Compare raw and rendered HTML](https://seotoolsforagents.com/workflows/compare-raw-and-rendered-html.md)
- [QA redirects and canonicals during a migration](https://seotoolsforagents.com/workflows/qa-seo-migration.md)
