top of page
  • Writer's pictureBrent Payne

Multiple, mismatched canonical tags

This issue arises when a URL is assigned different canonical tags in more than one location (such as within the HTML code and the HTTP headers), and these tags do not match each other.

Why is this important?

Conflicting canonical tags can cause search engines to disregard any canonical URL directives. This may lead to undesired indexing of duplicate pages that you prefer to remain excluded from search results.

What does the Optimization check?

This Optimization is triggered when any internal URL includes multiple mismatching canonical link elements. There might be one canonical link in the HTML and one in the HTTP header, or there could be two distinct canonical links in the HTML itself.

Note: Activating this Optimization will also activate the Optimization for:

Multiple canonical tags.

Examples that trigger this Optimization:

Take for example the following URL:

This Optimization would trigger if this particular URL had divergent canonical declarations; examples include:

Two canonical tags in the HTML <head>, each different:

<!doctype html><html lang="en"><head>  <title>Page Title</title>  <link rel="canonical" href="" />  ...  <link rel="canonical" href="" /></head><body>...</body></html>

OR one canonical tag in the HTML <head>:

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

AND a different canonical declared in the HTTP header:

HTTP/... 200 OK...Link: <>; rel="canonical"

How do you resolve this issue?

Identify the accurate canonical URL to be used, and ensure it is the sole reference across the site. Proceed by selecting a consistent method for assigning canonicals, such as exclusively through the HTML. Ensure that the canonical is set just once in every page template and adjust or eliminate any plugins causing discrepancies if needed. Consulting with a developer may be necessary to decide the best approach to streamline management for your website.


Recent Posts

See All

ClubReq Gets A Link (Because They Asked)

I am a mentor for Techstars and have been for over 10 years. In those ten years I have mentioned to startups to ask ANYONE and everyone that they meet to link to their site. Yet, in all those times on


bottom of page