Broken internal links: how to find and fix 404s inside your own site
Broken internal links are <a> tags on your own site pointing to URLs that return 4xx. They lose ranking equity, frustrate visitors mid-journey, and signal a poorly maintained site to crawlers. The fix is to find them, repoint each to the live destination, and add tests so they stop appearing.
Broken internal links are <a> tags on your own site pointing to URLs that return 4xx. They lose ranking equity, frustrate visitors mid-journey, and signal a poorly maintained site to crawlers. The fix is to find them, repoint each to the live destination, and add tests so they stop appearing.
Last updated·
What it is
An internal broken link is a hyperlink on one of your pages that points to another page on the same domain — but the destination returns 404 (Not Found), 410 (Gone), or another 4xx status. Common causes are slug renames without redirects, deleted product pages, and migrated CMS routes.
Why it matters
Internal links pass authority between pages. A broken one is a leak. They also damage user trust and bounce rate, and crawlers eventually slow down indexing pages that link to a lot of dead ends. For e-commerce, broken links inside product/category pages directly hurt conversion.
How to fix it
- Run a site-wide crawl. Use VectraSEO's monitor (or Screaming Frog) to list every broken link grouped by source page. Prioritise pages with the most inbound links.
- Repoint to the live destination. If the target was moved, update the link to the new URL. Do not rely on a 301 chain — fix the source.
- Redirect orphaned URLs once. If the destination is genuinely gone, add a 301 from the old URL to the closest equivalent page. Don't mass-redirect to /.
- Add a CI/CD link check. Wire a broken-link checker into your build or deploy hook so a new broken link blocks the merge instead of being discovered weeks later.
Authoritative sources
- Google Search Central documentation — Google
- Schema.org vocabulary — schema.org
- SEO Starter Guide — Google Search Central
- MDN — HTML meta and link elements — Mozilla MDN