Indexability · Canonicals

Canonical points to a server error (5XX)

This page's canonical names a URL that returns 500 Internal Server Error, so the canonical signal is broken and search engines may ignore it.

How this page is built

This page canonicalises to /fixtures/server-error-canonical-target/, which returns 500. It serves a plain error page with that status code, using a Netlify redirect rule. The address is not linked with an ordinary link, so it adds no broken link error.

Why it matters

The canonical names a URL that returns a server error. Search engines cannot index a page that fails, so the canonical is broken. Google usually ignores it and chooses a version itself, but while it works that out, the page carrying the canonical can drop out of results.

Repeated server errors also make Google crawl the whole site more slowly.

How to check it

Copy the canonical address from the page source and request it with a header checker to see its status code. Crawl tools report canonicals that point to 5XX errors. In Google Search Console, the URL inspection tool shows whether Google accepted the canonical.

How to fix it

Point the canonical at a live URL that returns 200, which is usually the page itself. If the target should work, fix the server error and check the server logs for others like it.

Back to all tests