What Is a Canonical Tag and How to Check Yours in 30 Seconds
A canonical tag is a line of HTML that tells search engines which URL is the master version of a page. Without one, Google can treat your http and https versions, or your www and non-www versions, as duplicate pages and split your ranking power between them.
When you need a canonical tag
Every indexable page needs a self-referencing canonical tag pointing to its own URL. You also need cross-domain canonicals when the same content exists on two domains. Most canonical problems come from site templates that omit the tag entirely, which is why 41% of the pages we audited failed this check (see the full data).
How to check yours in 30 seconds
Open the page, view source, search for "rel=canonical". If nothing appears, your page has no canonical and risks duplicate indexing. Or run the free On-Page SEO Checker, which fetches your live HTML and reports the canonical status alongside 14 other ranking factors.
The three canonical mistakes that hurt rankings
- Missing tag entirely. Google guesses, and guesses badly on parameter URLs.
- Canonical pointing to a redirected URL. Pick one final address and stick to it.
- Canonicalizing every page to the homepage. This tells Google your whole site is one page.
Bottom line
Canonical tags are a five-minute fix with permanent upside. Check yours before anything else on this list, and use the internal linking checker to make sure Google can actually reach your canonical pages. For the full checklist, read the 15 on-page factors that actually matter.
Frequently Asked Questions
What is a canonical tag?
A line of HTML that tells search engines which URL is the master version of a page, so duplicate versions do not split your ranking power.
Does every page need a canonical tag?
Yes. Every indexable page should have a self-referencing canonical tag pointing to its own URL.
How do I check if a page has a canonical tag?
View the page source and search for rel=canonical, or run the free On-Page SEO Checker, which reports canonical status alongside 14 other factors.
Put these tactics to work
Run InRankSEO's free SEO tools to audit your site, research keywords, and track your visibility across Google and AI search.
Related Posts
The SEO Audit Checklist: 15 On-Page Factors That Actually Matter
Skip the 200-point audits. These 15 on-page factors cover what Google actually reads on your page, and you can check all of them free.
ReadHow to Write a Meta Description That Gets Clicks
A meta description is your free ad in search results. The formula, the ideal length and a free generator that counts characters for you.
ReadHow Long Should a Title Tag Be?
Title tags should be 50 to 60 characters. Here is why length matters, where to put the keyword, and a free checker with live counts.
Read