To fix broken internal links, crawl your site to list every link that returns an error, then fix each one at its source. Update the link to the right address, or if the page moved, redirect the old address and update the link anyway. Remove links to pages that no longer exist. Then recrawl to confirm.
What is a broken internal link?
An internal link points from one page on your site to another page on the same site. It is broken when the destination does not load: it returns a 404 (not found), a 410 (gone) or a server error. The usual causes are a deleted page, a changed URL, a typo, or a redirect that was never set up after a move. External links can break too, but you only control the ones on your own pages that point at your own pages.
Do broken internal links hurt SEO?
Not in the way people fear. Google has said that 404s are "a perfectly normal part of the web" and that "this fact alone does not hurt you or count against you in Google's search results," in its post Do 404s hurt my site? The real costs are quieter:
- Readers hit a dead end and leave.
- Crawlers waste visits on addresses that lead nowhere.
- The page you meant to link to loses a path to it, which can leave it as an orphan page.
Google's advice on links is that every page you care about should have at least one internal link pointing to it. A broken link means that link is not doing its job. For the error itself, see what a 404 error is.
How do you find broken internal links?
Use more than one source, because each sees something different.
- Crawl the site. A crawler such as Screaming Frog or the site audit in a tool you already use follows every link and reports each destination that fails, along with the page that holds the link. This is the only method that tells you where the bad link lives, which is what you need to fix it.
- Check Search Console. The Page indexing report lists URLs Google found but could not fetch, including "Not found (404)." It shows the broken address, and the URL inspection tool can show how Google found it. See how to check if a page is indexed.
- Read your server logs or analytics for 404 responses that real visitors or bots hit repeatedly.
- Click through your top pages by hand. It is slow, but it catches problems a crawler may skip, such as links that only appear after a script runs.
Export results into one sheet with three columns: the page holding the link, the broken destination, and the error code.
How do you decide what to do with each one?
| What happened | Fix |
|---|---|
| Typo in the link | Correct the address in the source page |
| The page moved | Add a 301 redirect from the old URL, then update the link to the new URL |
| The page was deleted and has a close replacement | Link to the replacement, and redirect the old URL to it |
| The page was deleted and nothing replaces it | Remove the link or rewrite the sentence around it, and let the old URL return 404 or 410 |
| Link is built with a script, not a real anchor | Rebuild it as a normal anchor with an href |
Do not redirect every dead page to the home page. Google treats pages that say "not found" but return a success code as soft 404 errors, and a redirect to an unrelated page is confusing for readers too. Redirect only where the new page serves the same need. The mechanics are in how to do a 301 redirect.
Why should you still edit the link after adding a redirect?
A redirect rescues visitors, but a link that points at a redirect adds a hop to every visit. Hops pile up, so it is better to fix the source. If old redirects already point at other redirects, our guide to fixing redirect chains covers cleanup.
What about links Google cannot follow?
Some internal links are not broken in the 404 sense but still fail. Google's guide to crawlable links says "Generally, Google can only crawl your link if it's an <a> HTML element" and that it needs an href with a real URL. Buttons, click handlers and links that need a script event to work may not be followed. They will not show up in a 404 report, so look for them when a page is missing from search despite having links.
How do you keep links from breaking again?
- Redirect on every URL change. Make it a step in any move, as in the site migration checklist.
- Search your content for the old address before deleting or renaming a page, and update every link.
- Recrawl monthly. A small site takes minutes, and you find problems while there are only a few.
- Review links during content audits. The internal linking guide and content audit guide both fit this check.
Frequently Asked Questions
Are broken internal links a ranking factor?
Google says 404s alone do not count against a site. The harm comes from lost visitors, wasted crawling and weakened paths to pages that matter.
Should I redirect or remove a broken link?
If a close replacement page exists, redirect the old address and update the link. If nothing replaces it, remove the link.
How often should I check for them?
Monthly for an active site, and always after you delete, rename or move pages.
Can I fix them without a paid tool?
Yes. Search Console's Page indexing report shows many 404s for free, and a manual check of your main pages catches the rest on a small site.
Is it a problem if a link redirects?
One redirect works but is slower and less clean. Point the link straight at the final address when you can.