Dealing with AMP issues?

Crawl your website with Sitebulb for 300+ tech SEO checks

Try for Free
High This Hint is very important, and definitely warrants attention. Issue This Hint represents an error or problem that needs to be fixed.

AMP Page URL loops

This means that the URL in question contains an <amphtml> tag pointing at a URL, where this URL also has <amphtml> tag, that points back at the original URL.

Why is this important?

This setup would be the result of a misconfiguration, and the AMP Page would actually not be discoverable, since the AMP links loop back on themselves. If AMP URLs are not discoverable via crawling, search engines may fail to index the AMP Page or show it in search results.

What does the Hint check?

This Hint will trigger for any internal URL which references an AMP Page, which contains an <amphtml> tag that references the original URL.

Examples that trigger this Hint

Consider the URL: https://example.com/page-a/

The Hint would trigger for this URL if it included a <link> tag that referenced a URL as an AMP page:

<link rel="amphtml" href="https://example.com/page-b/">

where this URL includes a <link> tag referencing the original page as an AMP page:

<link rel="amphtml" href="https://example.com/page-a/">

How do you resolve this issue?

Often, a site is set up with both AMP and non-AMP pages. It is important that search engines are able to discover both types of page while crawling, and that each page is internally consistent in how they reference one another. 

In this case, the <amphtml> tag is pointing to completely the wrong URL, so you will either need to manually update this, or update the script that powers it.

To set discoverability up correctly, the configuration should look like this:

For the URL: https://example.com/page-a/

This page defines a self-reference canonical and an AMP page:

<link rel="amphtml" href="https://example.com/page-a/amp/">
<link rel="canonical" href="https://example.com/page-a/" />

Then the AMP page has a canonical pointing back at https://example.com/page-a/

<link rel="canonical" href="https://example.com/page-a/" />

Further Reading

Sitebulb Desktop

Find, fix and communicate technical issues with easy visuals, in-depth insights, & prioritized recommendations across 300+ SEO issues.

  • Ideal for SEO professionals, consultants & marketing agencies.

Sitebulb Cloud

Get all the capability of Sitebulb Desktop, accessible via your web browser. Crawl at scale without project, crawl credit, or machine limits.

  • Perfect for collaboration, remote teams & extreme scale.