AMP · AMP canonical
AMP canonical returns 5XX
This AMP page's canonical points at a non-AMP page that returns 500 Internal Server Error, so search engines have no working page to pair it with.
How this page is built
This page is an AMP page. Apart from the one fault below, it is valid AMP.
Its canonical points at /fixtures/amp-canonical-returns-5xx-non-amp/, which returns 500 Internal Server Error. 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 of an AMP page must be a working page. When it returns a server error, search engines cannot index it or pair the AMP page with it. If the errors continue, Google crawls the site more slowly and may drop the pages.
Server errors on the ordinary version often come from a separate system or template that the AMP version does not share.
How to check it
Request the AMP page’s canonical URL with a header checker, or curl with the -I option, and check its status code. Crawl tools report AMP canonicals that return 5XX errors.
How to fix it
Fix the server error on the canonical page, or point the canonical at a working non-AMP page. Google stopped requiring AMP for Top Stories in 2021, so many sites no longer need AMP at all.