Black Friday: 20% off annual plans · BLACKFRIDAY20 →
Free tool

Canonical tag checker

Find out which URL a page declares as its canonical, and whether that signal is clear. The checker reads the HTML and HTTP headers, flags conflicts and common mistakes, and confirms the canonical URL itself loads.

By RankGhost · Last reviewed

How to check a page’s canonical tag

  1. Enter the full URL of the page, the way people reach it.
  2. RankGhost follows any redirects, then reads the canonical link tags in the page’s head and any canonical Link header.
  3. Review the results. Problems such as two different canonicals, or a tag placed in the body, are marked as problems.
  4. If the canonical points to another URL, the checker fetches that URL to make sure it loads and isn’t set to noindex.
  5. Fix the tag in your page template or CMS, then run the check again.

What a canonical tag tells search engines

The same page often lives at several URLs: with and without a trailing slash, with tracking parameters, or under more than one category path. Search engines pick one version to show and fold the others into it. A canonical tag is your vote for which one.

Google describes canonical tags as a signal rather than an order. It weighs them against redirects, sitemaps and the links pointing to each version, so a clear setup is one where all of those agree: one canonical tag, in the head, with a full URL to a page that loads.

Common canonical tag mistakes

Most canonical problems come from templates, not from people. One wrong setting gets copied to every page that uses it, which is why it’s worth checking a few different page types: the homepage, a category, a product or post, and a paginated list.

  • Every page pointing to the homepage. A theme or plugin setting that writes the homepage URL into every canonical tells Google your pages are copies of the homepage. Google may ignore a tag that’s plainly wrong, but it may also leave those pages out of the index.
  • A canonical that redirects or returns an error. The canonical should be the final URL that loads with a 200 status. The checker fetches the target to catch this.
  • A canonical that points to a noindex page. You’re asking Google to index a URL you’ve also told it to leave out. The signals cancel each other, and Google picks for you.
  • Two canonical tags. A theme and an SEO plugin often both add one. If they name different URLs, the signal is ambiguous and Google picks for you. Keep exactly one.
  • Paginated pages pointing to page one. Google says each page in a series should have its own canonical URL, so the items listed on later pages can still be found.
  • Small mismatches. http instead of https, www instead of non-www, or a trailing slash your redirects remove. The canonical, your redirects and your sitemap should all use the identical URL.
  • A tag in the body. Google only reads rel="canonical" in the head. Scripts or broken markup that push it into the body make it invisible.

Canonical, redirect or noindex: which to use

Canonical tags are often used for jobs another tool does better. Match the fix to the situation:

SituationUse
The page has moved for goodA 301 redirect to the new URL
The same content must stay reachable at several URLs (tracking parameters, filters, print versions)A canonical tag on each version, pointing to the main one
The page shouldn’t appear in search at allA noindex tag, and leave the page crawlable so Google can see it
Two pages compete for the same search and one is weakerMerge them, then 301 redirect the weaker URL to the stronger one
Crawlers are wasting time on endless parameter URLsFix the internal links that create them; use robots.txt only for URLs you never want fetched

Whichever you choose, keep the signals consistent. If a URL redirects, don’t list it in your sitemap; if a page is noindexed, don’t name it as another page’s canonical. To check where redirects actually lead, use the redirect chain checker.

Questions about canonical tags

Sources, reviewed : Google: how to specify a canonical URL, Google: pagination best practices.

Do AI assistants cite you?

Track your Google rank and captured AI citations for the same keywords.

Try RankGhost free