GUIDE 7 OF 11 · WEBSITE HEALTH CHECK

What counts as a broken link

The broken links check tries a sample of the links on one page and reports the ones that do not work. A 404, a server error, a link that never answers or a redirect that loops is broken. A site that refuses robots, with a 403 or 429, is reported as "could not be verified", not broken. One or two broken links are a warning; three, or more than a quarter of those tried, fail the page.

Updated 4 December 2026Explains 1 check of the scanner behind the free tool

AT A GLANCE

  • Broken: a 404 or 410, any server error (5xx), another client error such as 418, no answer in time, or a redirect loop.
  • Not broken, only unverified: 401, 403, 429 and 999. The site is refusing automated requests, so the checker cannot know.
  • Fail: 3 or more broken links, or more than 25% of the links it tried. Warning: fewer than that, so 1 of 4 is a warning and 1 of 3 fails.
  • How many it tries: 12 by default in the command line, 10 in the free web tool. It never tries them all.
The checks this guide explains, and the points each one carries
CheckGroupPoints
No broken links links-brokenLinks6
  • It collects the links from the page's HTML. Links to # anchors, mailto:, tel: and javascript: are ignored.
  • It takes a sample, mostly links within your own site and some external ones. The command line tries 12 by default and up to 30 if you ask (--max-links 30). The free web tool tries 10.
  • A link that appears several times on the page is tried once and counted once.
  • Each link is asked first with a light HEAD request. If the server answers 405 or 400 (many servers do not like HEAD) it asks again with GET.
  • Redirects are followed. A redirect loop, or a chain that is too long, counts as broken.
  • A link that gives no answer within the time limit counts as broken: the web tool waits 5 seconds for each one.

Which answers count as what

How each kind of answer is classified
What the link doesCounted as
Answers 200 to 299, or redirects to a page that doesWorking
Answers 404 or 410 (not found, gone)Broken
Answers any 5xx (server error)Broken
Answers another client error, such as 418Broken
Does not answer in time, or loops through redirectsBroken
Answers 401, 403, 429 or 999Could not be verified: the site refuses automated requests. Not counted as broken.

The 999 answer is not a standard code: LinkedIn and a few other sites give it to scripts, and many more sites answer 403 or 429 the same way. Counting those as broken would make a page with a link to such a site look bad for no reason, which is why they are kept apart. The message says how many could not be verified, so you still know.

The rule has two parts, and either one is enough to fail:

  • 3 or more of the links it tried are broken, or
  • more than 25% of the links it tried are broken.

Anything less than that, but at least one broken link, is a warning. So 1 broken link out of 4 is a warning (exactly 25%), 1 out of 3 fails (33%), 2 out of 10 is a warning, and 3 out of 10 fails.

  • The page moved: point the link at the new address, and add a permanent redirect from the old address so other sites that link to it still work.
  • The page is gone: remove the link, or link to the closest page that still exists. Do not point every dead link at the home page.
  • An external site changed its address: update the link. Pages you do not control will break over time, so look at them again now and then.
  • A typo: the most common cause for links inside your own site.

The checker only tries a sample, so a clean result does not mean every link works. For the links inside your own site, a test can request every one of them on every build. Here is a Playwright test that does it for one page:

A Playwright test for the links inside your own site
import { test, expect } from "@playwright/test";

test("no broken links on the services page", async ({ page, request }) => {
  await page.goto("/services");
  const own = await page.$$eval("a[href]", (links) =>
    [...new Set(links.map((a) => (a as HTMLAnchorElement).href))].filter((h) => h.startsWith(location.origin)),
  );
  for (const href of own) {
    const res = await request.get(href);
    expect(res.status(), href).toBeLessThan(400);
  }
});

It only looks at links inside your own site on purpose. Other sites may refuse a script (403 or 429) or change without warning, and a test that fails because of someone else's server is a test people learn to ignore.

What the check cannot see

It reads the HTML the server sends, so links added later by JavaScript are not tried. It checks that a link answers, not that it leads where its text says. And it looks at one page at a time: a broken link on another page of your site is not seen.

Questions people ask

Why does the checker say "could not be verified" instead of "broken"?

Some sites refuse requests that do not come from a person in a browser. They answer 403 or 429 (or 999 for LinkedIn) to a script, even when the link works fine. The checker cannot tell, so it counts those apart from broken links and tells you how many there were.

Does it check every link on the page?

No. It tries a sample: 12 in the command line by default (up to 30), 10 in the free web tool. A page with 50 links is only partly checked. Use a test like the one above to cover your own links fully.

Do broken links hurt search rankings?

The checker cannot say that, and this page will not claim it. What is certain is that a broken link sends a visitor to an error page, and that a page full of them looks neglected.

Where the facts come from

See also on this site

FREE · ABOUT TEN SECONDS · NOTHING STORED

Check your own site

Paste a web address into the free website health check. It runs the 36 checks these guides explain, gives a score out of 100, and says what to fix first.

Open the free website health check