AMP Page URL is missing a canonical tag

This means that the URL in question is an AMP Page URL, which does not contain a canonical tag.

Why is this important?

The canonical tag is a mandatory element for AMP pages to be considered valid, and the canonical tag is supposed to point back at the original 'non-AMP' version of the page. If the page is standalone AMP, then the canonical should be self-referential.

If no canonical exists, search engines may not consider the HTML valid and may not index the page properly or include it in search results.

What does the Hint check?

This Hint will trigger for any AMP Page URL that does not contain a canonical link element in the HTML or the HTTP header.

How do you resolve this issue?

Add a canonical on the AMP page so that it points back to the non-AMP version of the page, and ensure that the non-AMP version of the page has a self-referencing canonical. It should look like this:

For the URL:

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

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

Then the AMP page has a canonical pointing back at the non-AMP page:

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

If we have a standalone AMP page, say, in this case the canonical should be self-referential.

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

Further Reading

Ready to try Sitebulb?
Start your free 14 day trial now

Start Free Trial