top of page
  • Writer's pictureBrent Payne

AMP Page URL loops

What this signifies is a situation where an AMP HTML tag (<amphtml>) in a URL is directing to another URL, and this second URL contains an AMP HTML tag that links back to the first one.

Why is this important?

This type of configuration is indicative of a setup error. It prevents the AMP Page from being accessible as the linking becomes cyclic. A lack of discoverability by search engine crawlers can result in non-indexing of the AMP Page or it being omitted from search results.

What does the Optimization check?

The Optimization will be activated for any internal URL which points to an AMP Page, which includes an <amphtml> tag that points back to the initiating URL.

Examples that trigger this Optimization

Take for instance the URL:

This Optimization would be activated if this URL included a <link> tag relating to a distinct AMP URL:

<link rel="amphtml" href="">

And if "page-b" contains a <link> tag that references back to "page-a" as an AMP page:

<link rel="amphtml" href="">

How do you resolve this issue?

Correctly setting up a website typically involves both AMP and non-AMP pages and it is crucial for search engines to uncover both when crawling. Each page type should internally reference the other correctly.

In this scenario, an erroneous <amphtml> tag directs to an incorrect URL and must therefore be rectified either manually or through a script update that handles it.

The correct configuration should be as follows:

This page should have a canonical self-reference and an indication of its AMP counterpart:

<link rel="amphtml" href=""><link rel="canonical" href="" />

The AMP page in turn should include a canonical link pointing back to the non-AMP page:

<link rel="canonical" href="" />

Further Reading


Recent Posts

See All

ClubReq Gets A Link (Because They Asked)

I am a mentor for Techstars and have been for over 10 years. In those ten years I have mentioned to startups to ask ANYONE and everyone that they meet to link to their site. Yet, in all those times on


bottom of page