When to use
- "Find broken links on our site", "fix our 404s", "reclaim broken backlinks", "we lost links after the redesign", "Search Console shows hundreds of 'Not found (404)'", "check outbound links in our blog".
- Quarterly hygiene, two to four weeks after a migration or redesign, or after deleting or merging content.
- Not for finding competitors' broken pages to win new links: use
broken-link-building. - Not for adding links to under-linked pages: use
internal-linking-optimizer. - Not for planning redirects before a migration: use
site-migration-seo-plan. - Not for mentions of your brand that carry no link: use
unlinked-mentions.
What you need
Required:
- The domain and the scope: internal links, backlinks, or both. Default: both.
Ask for, or assume and state:
- Site size and page list: the sitemap, or a crawler export with response codes and inlinks for sites above a few hundred pages.
- Backlink data: broken backlinks (external links to your URLs that return errors), lost backlinks, and referring domains per target.
- Search Console: the Page indexing report's "Not found (404)" examples, and clicks per page from before the URLs broke.
- Who can change what: where redirects are managed (server, CDN, CMS redirect manager) and who edits content.
Data and tools
- In Slate: Ahrefs and Semrush in the app give backlinks, referring domains, broken backlinks and link history per URL. Web research lists sitemap URLs and reads pages for the internal check. Search Console data on the Pages screen shows whether a broken URL used to earn clicks, if it was tracked.
- With the Slate MCP server:
web_researchwithaction: "sitemap"(raiselimit) andaction: "scrape"per page to extract links;query_pageswithview: "list"andsearchset to a broken URL's path, orview: "timeseries"for its click history. Status codes need a raw request (curl or a fetch with redirects off): a scrape that returns text isn't proof that a URL returns 200. Backlink data isn't available through MCP yet; use the Slate app. - Without Slate: a crawler (response codes, inlinks, redirect chains), Ahrefs or Semrush through their API, MCP server or exports (broken backlinks, lost backlinks, pages by referring domains), Search Console's 404 examples, and an analytics report of views of the "page not found" template with their referrers.
Procedure
Internal links
- List the pages. Sitemap URLs plus any crawl export, up to an agreed cap (default about 500 pages; beyond that, use a crawler).
- Extract links. Every
<a href>per page, with anchor text and location (menu, footer, body). Deduplicate targets so each URL is checked once. - Check each target. Request it with redirects off and record status, every
Locationhop and the final status. Go slowly (one or two requests a second). Retry 5xx and timeouts twice, a few minutes apart. - Classify.
- Broken: 404 or 410, or a soft 404 (200 with "not found" content).
- Server error: 5xx that persists after retries.
- Inconclusive: 401, 403, 429, 999 or a timeout, which usually means bot protection. Check by hand before acting.
- Redirected: an internal link through one or more hops (update to the final URL); chains of two or more hops on any link.
- Group by target. Per broken URL: number of linking pages, examples, and whether any link sits in the menu or footer (one template fix) or on a signup, pricing or demo path.
- Fix at the source. Moved page: update links to the new URL. Deleted with a replacement: update links and add a 301. Deleted with nothing to replace it: rewrite or remove the link. Broken outbound links to other sites: point to a live equivalent or an archived copy, or remove the link.
Backlinks
- Pull broken backlinks. External links whose target on your site returns an error. Re-check every target's status now; backlink data can be weeks old. Group by target URL: referring domains, followed links, the strongest linking page, and former clicks from Search Console.
- Decide per target. Restore the page if it was valuable and still fits the site. Otherwise 301 to the closest page on the same topic (never the homepage by default). Typos in inbound links (
/pricng) get a redirect too. Leave a 404 or 410 when there is no relevant page and the links are weak. - Review lost backlinks. For each lost link from a strong domain, find out why: the linking page is gone, it now redirects, or the link was removed from a live page. Only the last case is worth outreach, and only when the link was relevant: send the current URL and a reason to restore it.
- Prioritise. P1: targets with 5 or more referring domains, any broken link in menus, footers or conversion paths, or pages that earned clicks before breaking. P2: 1 to 4 referring domains, broken body links on indexed pages. P3: the rest, including outbound links on old posts.
- Ship and verify. Hand over the redirect rules in the format the platform expects and the link edits per page. After release, re-request every fixed target and source, recrawl, and check that Search Console's 404 count for these URLs falls over the next two to four weeks.
Output
## Broken links: <domain>, <date>
Scope: <internal / backlinks / both>. Pages checked: <n>. Backlink data: <Ahrefs / Semrush, pulled <date>>.
### Summary
- Internal: <n> broken targets on <n> pages (<n> in menus or footer). Inconclusive: <n>.
- Backlinks: <n> broken targets with <n> referring domains; <n> to restore, <n> to redirect.
### Internal broken targets
| Priority | Broken URL | Status | Linking pages (count, examples) | Location | Fix | New URL |
### Backlink reclamation
| Priority | Your URL | Status now | Referring domains | Strongest linking page | Clicks before | Action (restore / 301 / leave) | Redirect target |
### Lost links worth outreach
| Linking page | Domain | Lost reason | Our current URL | Message angle |
### Inconclusive (check by hand)
| URL | Response | Linked from |
### Redirect rules
| From | To | Code |
Quality checks
- Every "broken" status was observed in this run, not copied from an old export.
- Bot blocks, rate limits and timeouts are listed as inconclusive, never as 404s.
- Each broken target appears once, with all its linking pages grouped under it.
- No redirect points at the homepage by default, at another redirect, or at an unrelated page.
- Referring-domain counts and pull dates name their source.
- Fixes for links in menus and footers are marked as template changes.
Common mistakes
- Treating 403 or 999 as broken. Many sites block automated requests; check by hand first.
- One task per link. Group by target; the fix is usually one redirect or one template edit.
- Redirecting every 404 to the homepage. Google treats it as a soft 404 and readers land somewhere useless.
- Leaving internal links on redirects. A redirect stops the 404 but keeps an extra hop; update the source.
- Trusting stale backlink data. Targets get fixed and links get removed; re-check before acting.
- Outreach for weak links. Spend outreach only on relevant links from strong sites.
