AMP · AMP canonical

AMP canonical returns 403

This AMP page's canonical points at a non-AMP page that returns 403 Forbidden, 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-403-non-amp/, which 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

The canonical of an AMP page must be a working page. When it returns 403, search engines are refused access, so they have no page to index and nothing to pair the AMP page with. The AMP page is usually dropped too.

A 403 often comes from a security rule, a login wall or a CDN setting that blocks crawlers from part of the site.

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

How to fix it

Allow crawlers to fetch the canonical page, or point the canonical at a page they can reach. Google stopped requiring AMP for Top Stories in 2021, so many sites no longer need AMP at all.

Back to all tests