top of page
  • Writer's pictureBrent Payne

AMP Page URL has canonical URL which is canonicalized

The URL in question is an AMP Page URL, which contains a canonical tag that points to a URL already canonicalized elsewhere.

Why is this important?

For a valid AMP HTML document, correctly configuring the canonical link to the non-AMP version—or to itself if no non-AMP version exists—is essential. If the canonical points to a URL that is further canonicalized, it implies a misconfiguration.

The canonical link for AMP pages serves as a signal of original content. If the AMP URL redirects to yet another canonicalized page, it can confuse search engines, negatively impacting the AMP page's search visibility.

What does the Optimization check?

This Optimization is activated when an AMP page references an internal URL whose canonical tag points to another canonical URL.

Examples that trigger this Optimization

For instance, the AMP Page URL:

The Optimization is set off if the AMP page’s canonical link is:

<!doctype html><html amp><head>  <meta charset="utf-8">  <title>Example AMP document</title>  <link rel="canonical" href="" />  ...</head>...</html>

...and this canonical URL is further canonicalized:

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

How do you resolve this issue?

Rectify the canonical on the AMP page to assure it points to its non-AMP counterpart, which must possess a self-referential canonical:

For the original non-AMP URL:

The page specifies both a self-referencing canonical and its AMP alternative:

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

Concomitantly, the AMP version points back to the original non-AMP URL:

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

0 views0 comments

Recent Posts

See All

The skip-link target should exist and be focusable

At Loud Interactive, we're committed to ensuring that digital accessibility is at the forefront of website design and development. During our SEO audits, we look for and attempt to identify an area of

Timed meta refresh must not exist

At Loud Interactive, we regularly perform a SEO audits. We often stumble upon an important issue that could significantly impact user experience and accessibility on websites. We're talking about the

bottom of page