Skip to content
Nazmul Nikhil
Menu

Page Has Links to Broken Page (Ahrefs): Find and Fix Broken Internal Links

Ahrefs flags pages that link to URLs returning 404 or 410. Here's how to find the source links fast and choose between restoring, redirecting or relinking.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 3 min read
Page Has Links to Broken Page (Ahrefs): Find and Fix Broken Internal Links
Photo: Katelyn G on Unsplash

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.

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".

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.

Get my free audit →

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:

  1. Add a 301 from /seo-packages/ to /seo-plans/. This immediately rescues visitors, backlinks and every broken link at once.

  2. Update the menu and footer links. That's two edits, and they clear the issue on most pages.

  3. Update the 30 blog posts with a search-and-replace.

  4. 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.

Sources and references

TAGSAhrefs Site AuditPage has links to broken pageAhrefs broken linksFix broken internal links
Nazmul Nikhil

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.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com