Canonical tags for SEO: a practical guide

What canonical tags are, why duplicate URLs happen, the strongest ways to tell Google your preferred page, common mistakes, the change for syndicated content and how to check what Google chose

SEO Article
20 mins

By Daniel Rowles, lead trainer at Target Internet and author of Digital Branding (Kogan Page). Last updated: November 2026.

A canonical tag is a short piece of HTML that tells search engines which URL is the main version of a page when the same or very similar content appears at several addresses. It helps Google index and rank the page you want, rather than splitting signals across duplicates. Canonical tags are a strong hint, not a command, so they work best alongside consistent internal links and redirects.

What is a canonical tag?

When several URLs show the same or very similar content, Google picks one as the canonical, the representative version it shows in search results. The process is called canonicalisation. A canonical tag lets you tell Google which version you prefer. It sits in the head of the page and looks like this:

<link rel="canonical" href="https://www.example.com/shoes/running/">

If you do not say anything, Google will choose for you, based on signals such as redirects, internal links and which version seems most useful. Most of the time that works, but it can go wrong, which is why it pays to be explicit.

Why do duplicate URLs happen?

Many site owners assume they have no duplicate content, but duplicates are created all the time without anyone writing the same page twice.

Why duplicate URLs happen and need canonical tags: parameters such as tracking and filter codes, hostnames such as www and non-www, protocols such as HTTP and HTTPS, formats such as PDF and web versions, and syndication of your article on other sites
Common reasons the same content appears at several URLs.

Google's guidance on duplicate URLs lists common causes: tracking parameters added to URLs, the same page reachable on different hostnames such as with and without "www", HTTP and HTTPS versions, separate mobile URLs, the same content in different formats such as a PDF and a web page, and overlapping localised versions. E-commerce sites are especially prone to duplicates because filters and sorting options create many URLs for similar product lists.

Duplicates are not a penalty in themselves. The problem is that Google may pick a version you did not intend, split signals such as links across several URLs and spend crawling effort on copies rather than your important pages. Our guide to optimising your URLs explains how a clean URL structure reduces the problem in the first place.

How do you tell Google which URL is canonical?

There are several ways to signal your preferred URL, and they are not equally strong.

Ways to tell Google your preferred URL with canonical tags and other signals: strong signals are a 301 redirect to the main page, a rel canonical link in the head and a canonical HTTP header for PDFs; weak or wrong approaches are listing the URL in your sitemap, blocking with robots.txt and using noindex on duplicates
Strong and weak ways to signal your preferred URL.

According to Google, redirects and canonical annotations are strong signals, while including a URL in your sitemap is a weak one.

Use a permanent redirect when you are retiring a duplicate altogether. Use a rel="canonical" link when the duplicate needs to stay accessible, for example a filtered product list or a printer-friendly page. For non-HTML files such as PDFs, you can send the canonical as an HTTP header. You can combine methods to strengthen the signal, as long as they all point to the same URL.

Some approaches should be avoided. Blocking duplicates with robots.txt does not work for canonicalisation, because blocked URLs can still be indexed without their content. Using noindex to choose a canonical within your own site is also discouraged, because it removes the page from search entirely rather than consolidating signals.

When do you need canonical tags?

Most duplicate problems fall into a handful of familiar scenarios, each with a clear best fix.

Common duplicate scenarios and fixes for canonical tags: filtered or sorted product lists use a canonical to the main category, campaign links with UTMs rely on a self-referencing canonical, HTTP or non-www versions need a 301 redirect to HTTPS and one host, and retired or merged pages need a 301 redirect to the replacement page
Common duplicate scenarios and the best fix for each.

Filtered and sorted product lists are the classic e-commerce case: point them to the main category page with a canonical, unless a filtered version deserves to rank in its own right. Campaign links with UTM parameters create endless variants of the same page, which a self-referencing canonical handles neatly. Protocol and hostname variants should be fixed with redirects at server level, so only one version exists. And when you merge or retire content, as we are doing with many older articles on this site, a permanent redirect to the replacement page is the right tool.

Content you publish in several places needs thought too. If you republish your own articles on platforms such as LinkedIn or Medium, the original on your site is more likely to be recognised if it was published first and the copies link back to it. Our guide to writing evergreen content for SEO covers how to keep one strong version of each piece up to date rather than creating near-duplicates.

What are the most common canonical tag mistakes?

Canonical tags are simple, but small mistakes can stop them working or send conflicting signals.

Canonical tag dos and don'ts: do use absolute URLs, add a self-referencing canonical and link internally to the canonical; don't send conflicting signals, point at URL fragments or let scripts change the canonical
Canonical tag dos and don'ts.

Here is what each rule means in practice.

  • Use absolute URLs. Include the full address, including https and the domain.
  • Add a self-referencing canonical. Each main page should include a canonical pointing to itself, which guards against parameters and copies.
  • Link to the canonical version. Internal links, navigation and sitemaps should all use the preferred URL.
  • Avoid conflicting signals. Do not point a canonical one way while redirects or sitemaps point another.
  • Do not point canonicals at fragments. The part after a # is not a separate page.
  • Keep the canonical in the HTML source. If your site relies on JavaScript, avoid scripts that change the canonical after the page loads.

If your site uses hreflang for different languages, point each page's canonical to a page in the same language, not to a single version for all languages.

The Target Internet platform can help you build these skills, with interactive courses across digital marketing and AI, skills benchmarking to show where your gaps are, accredited certification, over 400 episodes of the Digital Marketing Podcast, and monthly live masterclasses.

Should you use canonical tags for syndicated content?

This is one area where advice has changed. Google used to suggest that publishers ask sites republishing their articles to add a canonical tag pointing back to the original. Google's documentation now says the canonical link element is not recommended for avoiding duplication with syndication partners, because syndicated pages are often very different from the original.

Instead, Google recommends that syndication partners block the syndicated copy from being indexed, using a noindex meta tag. If you syndicate your content and are concerned about partners outranking you, build that requirement into your syndication agreements. Google's systems will otherwise try to work out the original, but that is harder.

How do you check your canonical tags?

You can check what you have declared and, just as importantly, which version Google has actually chosen.

How to check your canonical tags: use URL Inspection in Search Console, compare the user-declared and Google-selected canonical, review the page indexing report, crawl your site with an audit tool to find missing tags, and fix by aligning links, redirects and tags
Five steps to check your canonical tags.

In Google Search Console, the URL Inspection tool shows both the canonical you declared and the one Google selected. If they differ, Google has decided another version is more representative, often because of conflicting signals such as internal links pointing to a different URL. The page indexing report also flags pages where Google chose a different canonical from yours.

Google Search Console URL Inspection for this article showing the page is indexed, with the user-declared canonical set to the article URL and the Google-selected canonical shown as Inspected URL
URL Inspection in Search Console for this article: the canonical we declared matches the one Google selected (screenshot, November 2026).

To check a whole site, use a crawler or SEO audit tool that reports missing, broken or conflicting canonical tags. You can also view a page's source and search for "canonical". Google's guide to fixing canonicalisation issues explains how to resolve common problems. If you use AI tools to help audit your site, our collection of AI prompts for SEO includes technical checks.

Copy and paste prompt: "Act as a technical SEO specialist. Here is a list of URLs from our site that show the same or similar content: [paste URLs]. For each group, recommend which URL should be canonical and explain why, say whether the others should be redirected or given a rel=canonical tag, and list any internal links or sitemap entries we should update so all our signals point to the same version."

Frequently asked questions

What does a canonical tag do?

A canonical tag tells search engines which URL is the preferred version of a page when the same or very similar content is available at several URLs. It helps consolidate ranking signals and ensures the right page appears in search results.

Does Google always follow canonical tags?

No. A canonical tag is a strong hint rather than a directive. Google may choose a different canonical if other signals, such as redirects, internal links or sitemaps, point elsewhere, or if the pages are not genuinely duplicates.

Should every page have a canonical tag?

It is good practice for important pages to include a self-referencing canonical tag. It protects against duplicate versions created by parameters, tracking codes or copies of the page, and many content management systems and SEO plugins add one automatically, so check what yours does before adding tags manually.

What is the difference between a canonical tag and a 301 redirect?

A 301 redirect sends visitors and search engines from one URL to another, so the duplicate is no longer accessible. A canonical tag leaves the duplicate accessible to visitors but tells search engines which version to index.

If you are ready to take a structured approach to building your digital marketing skills, explore Target Internet membership options and discover how interactive courses, benchmarking tools, the podcast, accredited certification and live masterclasses can support you and your team.

About the author

Daniel Rowles is lead trainer at Target Internet, a Senior Lecturer at Imperial College and the author of several books on digital marketing published by Kogan Page, including Digital Branding. He co-hosts The Digital Marketing Podcast and delivers digital marketing and AI training for organisations around the world. You can find out more on his Target Internet profile.

Bibliography

1. Google Search Central. How to specify a canonical URL with rel="canonical" and other methods. https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls

2. Google Search Central. Fix canonicalization issues. https://developers.google.com/search/docs/crawling-indexing/canonicalization-troubleshooting

3. Search Engine Land (2023). Google no longer recommends canonical tags for syndicated content. https://searchengineland.com/google-no-longer-recommends-canonical-tags-for-syndicated-content-406491

Build a ü free personalised ¥ learning plan to see our course recommendations î for you

Free for 30 days

Build a å free personalised ¥ learning plan to see our course recommendations î for you

Free for 30 days