AMP · AMP status

AMP page returns 403

This page's rel=amphtml link names an AMP version that returns 403 Forbidden, 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-403-amp/, returns 403 Forbidden. 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 403 refuses them, so the AMP version is never served, and Search Console reports an error for it. The rel=amphtml link is wasted and costs a request on every crawl.

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 403.

How to fix it

Allow crawlers to fetch the AMP page, or remove the rel=amphtml link.

Back to all tests