Skip to content

Broken link checker

Do any of your page's links to your own site answer with an error?

  • Checks your page
  • Reads:Links
  • 1 rule
  • Last updated

Reads: Links

Free, no sign-up.

What we keep

We keep the address exactly as you send it, including anything after a “?”, and its report shows it. Anyone who has the report’s link can open it, so leave out tokens, keys and personal data.

The result appears here

Enter your page’s address and press “Check the page”. This is what the tool runs on it:

  • Broken links to the site's own pagesnot started

What it checks

  • The <a href> and <area href> links in the page's HTML to its own origin, that is the same scheme, name and port: the first 50 of them, each address once.
  • What each link answers: we ask with HEAD, then with GET when it answers an error or the connection fails, as a visitor's browser asks. We follow no redirect, so a redirect is a sound answer for us.
  • A link counts as broken when it answers a status from 400 to 599, except 401, 403, 407, 429 and 503, which sites also give a visitor they take for a bot. Those five, a timeout and a failed connection are not judged, and the report counts them.

Example

WrongHTML
<a href="/ar/ofers/">العروض</a>
RightHTML
<a href="/ar/offers/">العروض</a>

How to fix

Correct the address in the link, or restore the page it leads to. If the page has moved to a new address, send its old address there with a permanent redirect, so every old link to it works. In nginx:

  • In Apache (mod_alias): Redirect permanent /ar/ofers/ /ar/offers/.
  • Remove links to pages that are gone for good.
  • If the error is a 5xx, the fault is in the server: look for it in its error logs, then check the page again.
nginx
location = /ar/ofers/ {
    return 301 /ar/offers/;
}

FAQ

No. The check asks for links to your page's own origin alone, and asks nothing of another site, nor of another name of your domain such as www: it stays on the site you asked it to check.

Because it checks the links of the page you give it alone, the first 50, and crawls none of the pages they lead to. Check your other pages one at a time, the ones your visitors use most first.

For one of these reasons: the page has more than 50 links to its site, your site's robots.txt asks ArablyzerBot, or every crawler with User-agent: *, not to fetch their path, they did not answer in time or the connection failed, or your site refused the request with 401, 403, 407, 429 or 503, as sites answer a visitor they take for a bot, so the check says nothing of the link. After the first 429 we ask for no more links. The report counts each, and counts none of them as broken.

No. It reads the links in the page's HTML as the server sends it, before JavaScript runs. A link a script builds after loading is not seen.

How we measure

Last updated Methodology and scoring

We fetch the page as ArablyzerBot and follow its redirects, having read its site's robots.txt first. We then gather the <a href> and <area href> links from the HTML as the server sends it, complete them against the page's base address, and keep those that lead to the page's own origin, without what follows #, and without the page itself or addresses with a user name or password. We count 1,000 links at most on a page, and ask for the first 50 that robots.txt does not keep from ArablyzerBot, by a group that names it or, where none does, by the User-agent: * group (the page itself is a visit someone asked for, which a * group alone does not stop, but its links are not), four at a time, within 20 seconds in all, and each request within 10 seconds (a link can take two): each with HEAD, then with GET when it answers an error or the connection fails, following no redirect and reading no content. Every request goes through the egress proxy, which refuses private addresses and the server's own. A link fails when it answers a status from 400 to 599, except 401, 403, 407, 429 and 503, and what got no answer is not judged. After the first 429, we ask for no more links. The same site, with the same answers, gives the same result every time.