AMP · AMP canonical

AMP canonical loop

This AMP page canonicalises to its non-AMP version, and that page canonicalises back to this AMP page, so the canonical links form a loop.

How this page is built

This page is an AMP page. Its canonical points at a non-AMP version, which names this page in a rel=amphtml link. Apart from the one fault below, the page is valid AMP.

The non-AMP version names this page in rel=amphtml, and its canonical also points at this page. Each page names the other as its canonical.

Why it matters

A canonical loop gives search engines no page to index. They have to choose one themselves, which may be the AMP page, and the pairing between the two versions breaks. Loops are often caused by a plugin that sets the canonical of every page to its AMP version.

How to check it

Follow the canonical from the AMP page, then the canonical from that page. The chain should stop at a self-canonical page. Crawl tools report canonical loops.

How to fix it

Give the non-AMP page a self-referencing canonical, and keep the AMP page’s canonical pointing at it. Google stopped requiring AMP for Top Stories in 2021, so many sites no longer need AMP at all.

Back to all tests