BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
SEO

Link checker: How to find and fix broken links

A link checker tests the links on your pages and reports 404s, server errors and redirect chains, so you can fix broken links before visitors hit them.

Monthly searches · link checker
165.0k
Keyword research data
link checker
Link checker: How to find and fix broken links
Click the image to view it full size

A link checker is a tool that finds broken links on a website. It collects the links on a page, or on every page of a site, requests each one and records the answer the server gives. Anything that doesn't lead to a working page goes on the report.

Some checkers test one page at a time; others crawl a whole site. The free W3C Link Checker, for example, checks links, anchors and referenced files on one page or recursively across a site, to a depth you choose (W3C Link Checker).

Each tested link comes back with an HTTP status code. Here's how to read the usual results:

Result What it means What to do
404 or 410 The page doesn't exist Update the link to the right URL, or remove it
5xx The server failed Check again later; if it keeps failing, treat it as broken
No connection or timeout The site or domain may be gone Replace the link with another source
301 or 302 The link works but passes through a redirect Point the link straight at the final URL
Redirect chain or loop Several hops, or hops that never end Fix the redirects and update the link
Missing anchor The #section the link points to isn't on the page Link to an anchor that exists, or to the page itself
  1. Collect. It starts from a URL or a sitemap and gathers every link in the HTML, following internal links to the depth you set.
  2. Test. It sends a request to each linked URL and records the response.
  3. Report. It lists the problem links together with the page each one was found on, so you know where to fix it.

A checker only tests links it can see. Like Google, most checkers reliably follow <a> elements with an href attribute. Links that only work through a JavaScript click handler can slip past both.

A dead link sends a visitor to an error page instead of the content they expected. On your own site, a broken internal link can also cut off the path to a page: Google says every page you care about should be linked from at least one other page on your site.

Broken outbound links cost credibility too. A cited source that no longer loads can't be checked. And when other sites link to a URL of yours that now returns 404, those visitors land on an error page.

Not as a penalty. Google calls 404 errors a normal part of the web and says 404s on some URLs don't affect how your site's other URLs perform in search (Google Search Central). They don't slow Google's crawling of the rest of your site either.

The real costs are indirect: lost visitors, pages Google can't reach through your links, and links from other sites pointing at nothing. For a URL that other sites link to with a typo, Google suggests a 301 redirect to the right page so you keep that traffic.

Use Search Console as a second check

Google Search Console shows broken URLs from Google's side. In the Page indexing report, "Not found (404)" lists URLs that returned 404 when Google requested them, often after finding them through a link. "Redirect error" lists redirect chains that are too long, redirect loops and redirects that end in a URL that's too long.

A 404 in that report isn't always a problem. If you removed a page on purpose and there's no replacement, 404 is the right answer.

Start with the links you control and the URLs people still use:

  • Broken internal links in templates, menus and footers, because they repeat on every page
  • Broken links in your most-visited pages
  • Removed URLs of yours that other sites still link to: redirect them to the closest matching page
  • Outbound links in articles that cite sources

Then shorten redirect chains. Googlebot generally follows up to 10 redirect hops, but every hop slows visitors down, so update internal links to point at the final URL.

Common mistakes

Checking only the homepage. Broken links collect deep in a site: old blog posts, archived products and pagination.

Redirecting every missing page to the homepage. Google treats that as a soft 404, which can hurt how it understands and indexes your site. Redirect to a closely matching page, or return a real 404.

Checking once. Pages you link to keep disappearing; that slow decay is called link rot. Run a check on a schedule that matches how often you publish, and always after a migration, a redesign or a bulk change of URLs.

Expecting the tool to fix things. A link checker finds problems. You still decide whether to update the link, add a redirect or remove it.

SEO wiki

Related terms

More definitions from the same corner of SEO and digital marketing.

Seonio

Put it to work on your own site

Keyword research, traffic, backlinks and clustering in one place. Start with a free $1 to test, no card required.