LaunchRanked

Canonical tag checker

Paste a URL. We follow its redirects, read the canonical from the HTML and the HTTP Link header, and tell you if it points where you think.

What a canonical tag does

Most sites serve the same content at more than one URL: with and without www, with a trailing slash, with ?utm_source= tags, over http and https. The canonical tag names the one you want indexed. Google then folds the signals from the duplicates, like links, into that URL instead of splitting them.

What this checker looks at

  • Where it’s set. The <link rel="canonical"> tag and the HTTP Link header. Google only reads the tag inside <head>, so we flag tags that end up in the body.
  • Conflicts. Two tags with different URLs, or a header that disagrees with the HTML. Google’s docs say not to specify different canonicals with different methods. It’s usually a theme and an SEO plugin both writing the tag.
  • Near misses. A canonical that is almost the page URL: http instead of https, www vs bare domain, a trailing slash, different letter case. We compare against the final URL after redirects and name the exact difference.
  • The target. If the canonical points elsewhere, we request that URL and check it returns 200 without redirecting.
  • Mixed signals. noindex plus a canonical to another page, and canonicals that point at a URL which redirects back here.

Fixing the usual problems

  1. Pick one host and protocol (normally https, with or without www) and 301 the others to it.
  2. Generate the canonical from the same function that builds your internal links, so they can’t disagree.
  3. Use absolute URLs. A relative canonical plus a wrong <base> tag points somewhere you didn’t intend.
  4. List only canonical URLs in your sitemap. Check it with the sitemap checker.

On our own product, Versely, one metadata helper sets the canonical for every page, across about 5,400 URLs, so no template can drift. The approach is in the Versely case study.

Limits

We read the HTML your server sends, without running JavaScript. A canonical added or changed by a script won’t show here, though Google may see it after rendering. We read the first 2 MB of HTML.

Questions

Does Google always follow my canonical tag?

No. Google treats rel=canonical as a strong hint, not a rule. It also weighs redirects, internal links, sitemap entries and HTTPS. If those point at a different URL than your canonical, Google may pick its own. Search Console's URL Inspection shows which canonical Google chose.

Should every page have a self-referencing canonical?

It's a good default. A self-referencing canonical tells Google which version to index when the same page is reachable with tracking parameters, a trailing slash or a different case. It costs nothing and removes guesswork.

Can a canonical point to another domain?

Yes. Cross-domain canonicals are the standard way to mark syndicated copies, such as an article republished on Medium pointing back to your original. Just make sure you only do it on purpose: on your own original page it hands the ranking to the other site.

What's the difference between the HTML tag and the HTTP header?

They do the same job. The <link> tag in <head> is for HTML pages. The Link: <url>; rel="canonical" HTTP header exists for files that have no <head>, like PDFs. Use one method per URL; if both are present and disagree, Google may ignore both.

Autopilot · early access

Want this fixed automatically?

Autopilot checks your site, publishes researched articles at a safe pace, and tracks whether ChatGPT, Perplexity, Gemini and Claude cite you. $49/mo.

Related free tools

See all free tools