In short
Ahrefs flags "Page has links to broken page" when a page links to a URL that returns a 404 or 410 error. Since September 2021, Ahrefs has counted only 404 and 410 URLs in this issue, not every 4XX or 5XX. For each broken target, Ahrefs suggests you restore the page, point the link somewhere relevant, or remove the link.
A broken link sends visitors to an error page and wastes crawler visits on URLs that no longer exist. It's one of the easiest issues to fix and one of the most visible to users.
Fix the target, not every link
One deleted page can break hundreds of links in menus, footers and old posts. Work from the broken URL outward:
| The broken URL... | Best fix |
|---|---|
| Was deleted by mistake | Restore it at the same URL |
| Was replaced by a similar page | 301-redirect it to the replacement, then update the links |
| Has no replacement | Remove or change the links, and leave it as 404 or 410 |
| Is a typo in the link | Correct the link |
A redirect fixes every link at once, but update the links too. Otherwise they show up under "Page has links to redirect".
How to find the source links
Open Site Audit > Links > Page has links to broken page. You can also open the broken URL in Page explorer and view its incoming links, which shows every page and anchor text pointing to it. Sort by the number of linking pages so template links (menu, footer, sidebar) come first.
Free SEO audit
Not sure which issues matter on your site?
I'll review your site and send you the fixes that matter most, in plain English.
Platform tips
WordPress: a redirect plugin (Redirection, or Rank Math's built-in redirects) handles the 301s. For content links, edit the post or run a careful search-and-replace on the old URL.
Shopify: create redirects in Content > Menus > URL redirects, where you can also import them in bulk from a CSV file.
Webflow: add 301 redirects in Site settings > Publishing > 301 redirects, then publish. Changed CMS slugs are a common cause.
Wix: use the URL Redirect Manager (SEO dashboard > Tools and settings). Wix adds a redirect automatically when you change most page slugs, but not for blog posts.
Custom builds: keep a redirects table in the CMS, and add a pre-build check that fails when content links to a slug that doesn't exist.
False positives
If a page loads fine in your browser but Ahrefs reports it broken, a server or firewall rule may be blocking the Ahrefs crawler. Allowlist Ahrefs' IPs and recrawl.
A worked example
A company renames its service from "SEO Packages" to "SEO Plans" and changes the slug from /seo-packages/ to /seo-plans/. Nobody adds a redirect. The old URL is still in the main menu, the footer, 30 blog posts and two partner websites. Ahrefs flags every page on the site under "Page has links to broken page", because the menu is on every page.
The right order of fixes:
Add a 301 from
/seo-packages/to/seo-plans/. This immediately rescues visitors, backlinks and every broken link at once.Update the menu and footer links. That's two edits, and they clear the issue on most pages.
Update the 30 blog posts with a search-and-replace.
Recrawl. The broken-link issue should be gone, and the "links to redirect" rows should drop as the links are updated.
404 or 410 for pages that are gone for good?
Both tell search engines the page doesn't exist, and Google drops either from the index. A 410 says "gone on purpose", while a 404 just says "not found". Use whichever your platform supports. The bigger decision is whether a relevant replacement exists. If it does, redirect.
Common mistakes
Redirecting every dead URL to the home page. Google can treat that as a soft 404, and visitors land somewhere unrelated.
Fixing links but not the template that keeps creating them.
Ignoring broken links in images, PDFs and buttons, which Ahrefs reports under related issues.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Ahrefs Help, "Page has links to broken page" error (checked Dec 1, 2026)
Ahrefs Blog, Site Audit Issues Update (September 2021)
Google Search Central, How HTTP status codes affect Google's crawlers (updated Feb 4, 2026)

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



