Skip to content

Ready

Enter a domain on the left and run the test. Results stream in here.

One URL in, its declared canonical out

This checker fetches a single page and reports which URL that page names as its canonical. It reads every link rel="canonical" element in the HTML and the Link HTTP response header, resolves relative values against the final URL, and then tells you whether the canonical points at the page itself or somewhere else. When it points somewhere else, the tool requests that target too and reports its status code and whether it redirects, because a canonical aimed at a broken or redirecting URL is one of the most common reasons Google ignores the tag.

Alongside the main answer it flags the problems that are easy to miss by eye: more than one canonical tag on the page (and whether they disagree), a relative canonical, a header canonical that contradicts the HTML one, and a page that is both canonicalised and set to noindex in its meta robots tag. It reads the HTML as the server sends it and does not run JavaScript, so a canonical injected only by client-side code will not show up here. That is useful in itself: if the tool sees no canonical but your browser inspector does, your canonical depends on rendering.

A hint Google weighs, not an order it obeys

rel=canonical tells search engines which URL you prefer to show in results when several URLs carry the same or very similar content. Google treats it as a strong hint rather than a directive. It combines the tag with other signals, such as redirects, internal links, sitemap entries and whether the URL is served over HTTPS, and picks the canonical it believes is right. When your signals agree, Google almost always follows your choice. When they conflict, for example a canonical to URL A while your sitemap and internal links all point at URL B, Google may pick B, and Search Console will report "Duplicate, Google chose different canonical than user".

That is why a canonical tag is only as good as the rest of your setup. The tag, the URLs in your XML sitemap, the URLs in your internal links and the final URL after any redirect should all name the same address. Our guide to canonical tags and duplicate content walks through how those signals combine.

What a healthy canonical looks like

For most indexable pages the right answer is a self-referencing canonical: an absolute URL, on your preferred protocol and host, that exactly matches the page's own clean address. It costs nothing and protects you from duplicates created by tracking parameters, session IDs, sort orders and trailing-slash variants, because every variant carries the same tag pointing at the clean version.

<!-- In the <head> of https://www.example.com/shoes/trail-runner -->
<link rel="canonical" href="https://www.example.com/shoes/trail-runner" />

<!-- The same page reached with a tracking parameter keeps the SAME tag -->
<!-- https://www.example.com/shoes/trail-runner?utm_source=newsletter -->
<link rel="canonical" href="https://www.example.com/shoes/trail-runner" />

# For a PDF or other non-HTML file, send it as an HTTP header instead
Link: <https://www.example.com/guides/sizing.pdf>; rel="canonical"

Use absolute URLs. Relative canonicals are valid HTML and Google resolves them, but they break easily when a page is served from a staging host, a CDN alias or the wrong protocol, which is why this tool flags them.

Reading each flag in the report

Points to a different URL

This is fine when intended, such as a filtered category pointing to the main category, or a syndicated copy pointing to the original. It is a problem when the page should rank on its own. Check the target status the tool reports: it should be a 200 page, not a redirect, a 404 or a noindex page.

Multiple or conflicting tags

Two canonical tags usually come from a theme and a plugin both adding one. If they disagree, Google may ignore both and choose for itself. Remove the duplicate at its source rather than overriding it.

Header and HTML disagree

A canonical in the Link header and a different one in the HTML send mixed signals. Keep one method per URL; headers are best kept for PDFs and other files that have no HTML head.

Canonical plus noindex

A page that says "index that other URL instead" and "do not index me" at the same time is contradictory. Google has said not to mix them. If the page is a duplicate, use a canonical; if it should stay out of search entirely, use noindex and a self-canonical or none at all. Our indexability checker shows the full robots directives for the page.

Canonical, redirect or noindex: matching the tool to the job

A 301 redirect sends visitors and bots to another URL and is the right choice when the old URL should no longer be seen at all, such as after a migration or when merging two articles. A canonical keeps both URLs reachable but asks search engines to show only one, which suits parameter URLs, print views and product variants that visitors still need. Noindex removes a page from search without naming a replacement, which suits thin internal search results or thank-you pages. Robots.txt does none of these: blocking a duplicate in robots.txt stops Google from seeing its canonical tag at all.

If you are consolidating whole hosts, such as http versus https or www versus non-www, redirects are the stronger fix and the Canonicalization Audit tests every variant of your domain in one go. For a chain of hops after the canonical target, run it through the Redirect Chain Checker.

Faceted navigation, variants and pagination

Ecommerce sites create the most duplicates. Filter combinations like ?color=red&size=10 should usually canonicalise to the unfiltered category, unless a filtered page has real search demand of its own, in which case give it a clean URL, unique copy and a self-canonical. Product variants that differ only in colour often canonicalise to one main product URL; variants with distinct search demand can stand alone.

Paginated series are the exception people get wrong. Page 2 of a category is not a duplicate of page 1, because it lists different items. Each page in the series should carry a self-referencing canonical. Pointing every page at page 1 can stop Google from discovering the products that only appear deeper in the list.

Setting the canonical on WordPress, Shopify, Next.js or the server

WordPress

WordPress core already prints a self-canonical on posts and pages, and SEO plugins such as Yoast or Rank Math take over that output. To point a page elsewhere, open the plugin's Advanced panel in the editor and fill in the Canonical URL field. If the checker reports two tags, a theme is probably adding its own; disable one source.

Shopify

Most themes output <link rel="canonical" href="{{ canonical_url }}"> in theme.liquid. Shopify's canonical_url already points collection-scoped product URLs at the main product URL, so leave that tag in place and avoid apps that add a second one.

Next.js

In the App Router, set alternates.canonical in a page's metadata or generateMetadata, together with metadataBase in the root layout so the URL is absolute. Because it renders on the server, the tag is in the HTML this checker reads.

Apache or Nginx (for files)

For PDFs, add the header at the server: in Apache, inside a <Files> block, use Header add Link "<https://www.example.com/guide.pdf>; rel=\"canonical\""; in Nginx, use add_header Link in the matching location block. Re-run the checker afterwards to confirm the header comes through.

A workflow for checking canonicals across a site

Start with templates rather than single pages: one product, one category, one article, one landing page. Each template sets canonicals the same way for every page built on it, so a bug in one usually means a bug in thousands. Then test the URL variants that cause duplicates on your site, such as a parameter version or the trailing-slash twin, and confirm they all return the same canonical as the clean URL.

Finally, compare with what Google decided. Search Console's URL Inspection tool shows both the user-declared canonical and the Google-selected canonical for any indexed URL. If they differ, look for the conflicting signal (a sitemap entry, internal links, a redirect) rather than adding more tags.

How it works

  1. Enter Your URL

    Paste the page URL you want to check. We fetch it as served, without running JavaScript.

  2. Extract Every Canonical

    We read all rel='canonical' link tags in the HTML and any canonical in the Link HTTP header, plus the meta robots tag, and resolve relative values to full URLs.

  3. Check the Target

    See whether the canonical is self-referencing, duplicated or conflicting, and, if it points elsewhere, the status code of the target URL and whether it redirects.

Frequently asked

What is a canonical tag and why does it matter?

›

The canonical tag (rel='canonical') tells search engines which URL you want shown in results when several URLs carry the same or very similar content. Without it, Google picks a version on its own and signals such as links can be split across duplicates. A self-referencing canonical on each unique page is standard practice.

What exactly does this checker look at?

›

It fetches the page and reads every rel='canonical' link tag in the HTML and any canonical in the Link HTTP header. It reports whether the canonical points to the page itself, flags multiple or conflicting tags, relative URLs, header-versus-HTML conflicts and a meta robots noindex on the same page, and it requests the canonical target to report its status code and whether it redirects.

Does it see canonicals added by JavaScript?

›

No. It reads the HTML as the server sends it, without running scripts. If your browser's inspector shows a canonical but this tool does not, the tag is being injected client-side. Google can usually read it after rendering, but other crawlers may not, and it is safer to output the canonical in the server HTML.

What is the difference between a canonical and a redirect?

›

A 301 redirect sends users and bots to a different URL, so the old one is no longer seen. A canonical keeps both URLs reachable but asks search engines to show only one. Use redirects when a URL has moved for good or when merging hosts; use canonicals when visitors still need the variant, such as tracking-parameter or filtered URLs.

Are canonical tags directives or hints?

›

Hints. Google weighs rel='canonical' together with redirects, sitemap URLs, internal links and HTTPS, and may choose a different URL if those signals disagree. Search Console's URL Inspection tool shows both the canonical you declared and the one Google selected.

Can a single page have multiple canonical tags?

›

It should not. When a page carries more than one rel='canonical', Google is likely to ignore them all and choose its own canonical. Two tags usually come from a theme and an SEO plugin both adding one; remove one source rather than adding a third.

Should a canonical point to a URL that redirects or is noindex?

›

No. The canonical target should be a live 200 page that is indexable. A canonical that points to a redirect, a 404 or a noindex page sends conflicting signals and is a common reason Google ignores the tag. This checker requests the target and shows its status so you can catch this.

How should canonicals work with URL parameters and faceted navigation?

›

Point filter, sort and tracking variants at the clean URL, for example /shoes?color=red&size=10 to /shoes. If a filtered page has its own search demand, give it a clean URL, unique content and a self-canonical instead. Paginated pages are different: page 2 should canonicalise to itself, not to page 1.

Related tools

More Technical SEO tools

See all Technical SEO tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans