The canonical tag seems simple but a lot of sites make mistakes implementing it. Let’s review three of the more common mistakes when implementing canonical tags.
Quick Recap: How a Canonical Works
To quickly recap, how do canonical tags work?
Let’s say a website uses these three URLs to list the same products in a slightly different order.
https://www.domain.com/some-category/listhttps://www.domain.com/some-category/list.html?sort=colorhttps://www.domain.com/some-category/list?sort=price
There is little value in each of these pages ranking in search results. So, you can use a canonical tag to communicate which version ought to be used. For example, if only the main list should be used, but not the sort URLs, all three of those example URLs would have this tag in the page’s <head>:
<link rel="canonical" href="https://www.domain.com/some-category/list" />
Another alternative is to add Link to your HTTP Headers. This is useful for non-HTML files (but typically requires technical support to add to your website). Here again, this would be added to all duplicated versions.
Link: <https://www.domain.com/some-category/list>; rel="canonical"
Mistake 1: Linking to Non-Canonical URLs
You should not rely on the canonical tag as the only means of communicating your URL preferences to search and AI bots. Internal links on your website should link to the canonical version of the page, at least as much as possible. If most internal links point to a different version of the URL rather than the canonical tag, you risk Google selecting a different canonical tag than what the website has stated.
I’ve seen this happen with tracking parameters used on internal links. For example, the main menu might have ?ref=main_menu appended to each link. Unfortunately, that parameter can be seen by bots. Bots may think that the URL with the ref parameter is the more official version of the URL. Google can end up indexing the version with that parameter instead of the canonical version of the URL. I’ve seen this happen on the XML sitemap as well. So, make sure that the XML sitemap only uses the canonical version of each URL.
Internal links aren’t the only references to URLs. One site we audited dropped the www from the domain name in schema, even though the website’s canonical URLs all used www in the domain. This resulted in the non-www and www versions of the domain being indexed and being included in rankings and citations, which caused a lot of confusion for users and also reduced overall search performance.
To avoid this mistake, crawl the website and confirm that all URL references within the website align with the canonical URLs. As much as possible, try to align external links with canonical URLs as well, including links on local or social profiles.
Mistake 2: Pointing Canonical Tags to Non-Indexable URLs
Canonical tags should only reference URLs that are indexable. The point of the canonical is to tell Google and other search engines which URL to use in search results.
For starters, that means a URL stated in the canonical tag should return a 200 status code. Status 200 indicates everything is working properly. Typically, you only want URLs returning a 200 status code to rank in search results and appear in AI citations. This means that any URL returning a different status code should never be stated as the canonical URL. That includes redirects and error pages.
However, we regularly see URLs that redirect (301 or 302 status codes) or error URLs (404 or 410 status codes) used in the canonical tag. This happens a lot during a platform migration where lots of URLs change at once, but the canonical tags aren’t always updated with those changes. Whenever URLs are removed or changed, make sure to sync up changes to the canonical tag.
Because we are aiming to only include indexable URLs, that also means the canonical tag should point to a page that can be crawled and indexed. For example, one website had three URL variations for the same page. The preferred URL was indexable, while the other two were set to noindex and pointed to the preferred URL with canonical tags. After a CMS update, these settings were accidentally reversed. The preferred URL became noindex, while the two alternative URLs became indexable but still had canonical tags pointing to the now non-indexable page.
Mistake 3: Assuming Canonical Tags Fix All Duplicate Content Problems
Canonical tags only resolve duplicate content in a very limited manner. The tag is designed to help search engines, like Google and Bing, navigate duplicate content when deciding what content to index on a website. The canonical tag may resolve duplication in search results, but the duplicate content could still be a problem for two key audiences: AI bots/agents and human visitors.
OpenAI, Anthropic, Meta, and other AI services have not indicated any support for canonical tags when deciding what pages to use for training or selecting pages for citations. That means duplicate content could appear in citations or mentions, potentially reducing activity due to competition between the duplicate pages.
As well, a canonical tag does not help human visitors or AI agents avoid duplicate pages when using the website. Visitors may still encounter duplicate content, which can make the website harder to use. For example, if a page is available at multiple URLs because of a technical issue, visitors might find the page in three different ways. That makes the website more confusing, reducing site engagement and conversions.
A canonical tag is still valuable, but you need to assess what kind of problem the duplicate content creates. If the duplicate content affects how search engines index content, like the sort example, a canonical is probably the right answer. If the duplicate content affects AI systems or users, then stronger measures like redirecting or consolidating duplicate content are probably going to be more effective.