Find us at BrightonSEO 25/26 April - STAND 18! Fill your swag bag!

Dealing with Indexability 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.

Multiple, mismatched canonical tags

This means that the URL in question has a canonical element specified in multiple locations (either in the HTML, in the HTTP header, or in a combination of both), and that the canonical URLs specified are not the same.

Why is this important?

If search engines encounter conflicting canonical URLs, they will ignore the canonical instruction entirely. This could result in the indexing of pages which you do not wish to be indexed, such as duplicate content.

What does the Hint check?

This Hint will trigger for any internal URL which contains multiple canonical link elements, where the canonical URL does not match. This may be one canonical found in the HTML and one in the HTTP header, or it may be two in the HTML, for instance.

Note: if this Hint triggers, it will also trigger the Hint:
Multiple canonical tags.

Examples that trigger this Hint:

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

The Hint would trigger for this URL if it had multiple canonicals defined, where the canonicals do not match;

Two different canonical tags in the <head>:

<!doctype html>
<html lang="en">
<head>
<title>example</title>
<link rel="canonical" href="https://example.com/page-a" />
...
<link rel="canonical" href="https://example.com/page-b" />
</head>
<body>...</body>
</html>

OR one canonical tag in the <head>:

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

AND a different canonical in the HTTP header

HTTP/... 200 OK

...
Link: <https://example.com/page-b>; rel="canonical"

How do you resolve this issue?

The first task is to determine which is the correct canonical URL, and then ensure that this is the only one that is referenced.

Following on from this, you will also need to select one method of defining canonicals, and only use that method. If this is in the HTML, ensure that on all page templates the canonical is only being assigned once - reconfigure or remove offending plugins if necessary. You may need to seek developer input to determine which is easier to manage for each specific website.

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.