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

1 view0 comments

Recent Posts

See All

CSS file size too large discovered in SEO audit

In our SEO audits at Loud Interactive, we often come across a common yet significant issue that can heavily impact your website's loading speed and overall performance: CSS file size too large. Let's

CSS file size too large discovered in SEO audit

When conducting an SEO audit on your site, one issue that might come up is that your CSS file size is too large. But why does this matter, and what can you do about it? Let's dive in. What's the Issue

H1 tag missing or empty" Discovered in an SEO Audit

At Loud Interactive, we've encountered a common issue during our SEO audits that can significantly impact a website's performance on search engines: the "H1 tag missing or empty" warning. This problem

bottom of page