How to Fix Broken Internal Links (404s)
Find and repair internal links that point to missing pages so you stop leaking link equity.
A broken internal link is a link on your own site pointing at a URL that no longer resolves, usually returning a 404. Fix it by updating the link to the page's current address, or by 301-redirecting the old URL if the content moved. Deleting the link is the last resort — it was there because something needed to be reachable.
Why It Matters
Internal links to 404 pages frustrate users, waste crawl budget, and stop link equity from flowing to the pages that should rank. They usually appear after a page is renamed or deleted without updating the links to it.
How to Fix
Crawl for 404s
Fix the destination
Update the source links
Code Fix
html<a href="/old-product-page">View product</a> <!-- 404 --><a href="/products/new-slug">View product</a> <!-- live URL (or 301 the old one) -->Platform-Specific Instructions
A redirection plugin (Redirection, Rank Math) logs 404s and lets you add 301s; then fix the source links in content.
Add 301s in redirects() in next.config.js and fix the <Link> hrefs.
Fixed that one.
Now find the rest.
A free audit ranks every issue on your site by the score points it costs — and links each one straight to its guide.
Run a free audit