Blog

How to find and fix broken links on your website

A broken link points to a page that no longer works. Every site collects them as pages move, products sell out and other sites close. Finding them takes one crawl, and most are fixed by editing a single link or adding a redirect.

What counts as a broken link

A link is broken when following it doesn't reach a working page. In practice that means one of these:

ResultWhat it means
404 Not FoundThe page doesn't exist at that address. By far the most common case: the page was deleted, moved without a redirect, or the link has a typo.
410 GoneThe page was removed on purpose. The link should go too.
5xx server errorsThe server failed. Sometimes temporary, so check again before changing the link.
DNS failure, timeout or refused connectionThe whole site is unreachable, often because a domain expired. Common in old outbound links.
A redirect that ends in an errorThe link redirects, but the final page is a 404. It looks fine in the HTML and is still broken.

A link that redirects to a working page isn't broken, but it is worth updating to the final URL. See redirect chains for why every extra hop costs something. For the full list of codes, see HTTP status codes for SEO.

Do broken links hurt SEO?

Not in the way people often fear. Google says 404 errors for pages that really don't exist are normal and don't count against a site. The harm is indirect, and it depends on the kind of link:

How to find broken links

Clicking through pages by hand doesn't scale past a handful of pages. A crawler follows every link from your homepage, checks each one, and reports where it is:

The checker crawls up to 1,000 pages, including the URLs in your XML sitemap, and checks every internal and outbound link it finds. For each broken link you get the status, the target URL, and every page it appears on, so you know exactly where to edit. Two other sources are worth checking too:

Some sites, including LinkedIn, Instagram and Amazon, answer automated checks with 403, 429 or 999 even when the page works. Treat those as "couldn't verify" and check them in a browser before removing the link.

Which to fix first

  1. Links in navigation, headers and footers. One broken menu link appears on every page, so fixing it fixes hundreds of instances at once.
  2. Internal links to pages that should exist, such as product, service and category pages that moved.
  3. Deleted pages that other sites still link to. Search Console's Links report shows your most-linked pages; check that each one works.
  4. Internal links in body content, such as old blog posts linking to retired pages.
  5. Outbound links, starting with your most visited pages.

How to fix each kind

Run the checker again afterwards to confirm everything resolves, and export the CSV if someone else edits the content.

How to stop new ones appearing

Questions

What does broken link mean?

A link whose target doesn't load: usually it returns a 404 error, but it can also be a server error, a site that no longer exists, or a redirect that ends on an error page.

Are broken links bad for SEO?

Broken internal links are worth fixing because they waste crawling and stop link value reaching your pages. A few broken outbound links won't hurt rankings on their own, though they make a page less useful. Google doesn't penalise a site for 404s on pages that really don't exist.

How do I find broken links on my website for free?

Run a crawler such as the free Broken Link Checker, which checks up to 1,000 pages and lists every broken link with the pages it's on. Also check the "Not found (404)" list in Google Search Console's Pages report.

Should I redirect every 404?

No. Redirect URLs that had links, traffic or a clear replacement. A URL that never existed, or a page with nothing similar to send people to, should return 404. Redirecting everything to the homepage is treated as a soft 404 and confuses visitors.

How often should I check for broken links?

After any migration, redesign or bulk content change, and otherwise every month or two. Large sites and sites with many outbound links benefit from checking more often.