AMP · AMP status

AMP page returns 5XX

This page's rel=amphtml link names an AMP version that returns 500 Internal Server Error, so search engines cannot fetch or serve the AMP page.

How this page is built

This page is an ordinary page. It names an AMP version of itself with a rel=amphtml link in its head. That URL, /fixtures/amp-page-returns-5xx-amp/, 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

Search engines must fetch an AMP page to validate and cache it. A server error means they cannot, so the AMP version is not served, and repeated errors can slow the crawl of the whole site. Visitors who follow an AMP link see an error page.

How to check it

Request the rel=amphtml URL with a header checker, or curl with the -I option, and check its status code. Crawl tools report AMP URLs that return 5XX errors.

How to fix it

Fix the server error on the AMP page, or remove the rel=amphtml link until it works.

Back to all tests