Small business

What Is a Canonical Tag, and Does Your Website Need One?

A canonical tag is one line of code that tells search engines which address is the main one for a page. SEO guides explain the syntax well. What most site owners actually want to know is simpler: does my site need one, does my platform already add it, and what do the canonical messages in Search Console mean? This guide answers those from Google's own documentation and the platforms' help pages, read on 20 November 2026, with a check we ran on our own site.

What Is a Canonical Tag, and Does Your Website Need One?

Key takeaways

  • A canonical tag names the main address of a page. It is a line in the page's head, pointing to the URL you want shown in search.
  • Google does not require one. Its documentation says that without one your site "will likely do just fine", because Google picks the best version itself.
  • It is still worth having. It helps when the same page loads at several addresses, such as with tracking codes, filters, or with and without www.
  • Most platforms add it for you. Shopify adds canonical tags automatically, Webflow fills them in once you set a global canonical URL, and WordPress adds them to single posts and pages.
  • It is a strong hint, not an order. Redirects are the stronger signal. Google can choose a different canonical if your signals disagree.
  • "Alternate page with proper canonical tag" in Search Console is usually fine. Google's help page treats it as working as intended.

The short answer

A canonical tag tells search engines: "this page also exists at other addresses, but this is the one to index." You need one, in effect, on every page, pointing to itself, plus on any duplicate address pointing to the main version. The good news is that most website platforms already do this. Your job is to check three things: that each page's canonical points to the right address (https, the right www setting, no tracking codes), that your internal links and sitemap use the same addresses, and that old or duplicate addresses that should not exist are redirected instead.

About us: Amariq is a studio that designs and builds websites. The rules below come from Google Search Central's page on specifying a canonical URL and Search Console's Page indexing help, both read on 20 November 2026.

What the search results show, and the gap

We searched Google (US, English) for "canonical tag" on 20 November 2026. The results were Google's developer documentation, Moz's learning center page (4 April 2025), Ahrefs' blog (31 October 2024), Webflow's help article (19 May 2026), Search Console Help, LinkedIn and Reddit discussions, and many short videos.

The SEO tool pages explain the syntax and the theory thoroughly. What none of them puts in one place is the owner's view: whether you need to do anything at all, what your platform already does, and how to read the canonical statuses in Search Console. One also repeats a common worry: Webflow's article says duplicate content "can cause SEO penalties", while Google's own canonical page says specifying a canonical is not required and that Google will pick the best URL itself. This guide fills that gap.

What a canonical tag looks like

The tag sits in the of the page:

``html ``

Google's rules for it, from its documentation:

  • Use a full address with https, not a relative path such as /services/roof-repair. Google supports relative paths but does not recommend them.
  • Put it in the head. Google only accepts it there.
  • Add it to the main page itself as well (a self-referencing canonical).
  • Use one method and one address. Do not name one URL in the sitemap and another in the tag.
  • For PDFs and other files, the same signal can be sent as an HTTP header instead.

Why the same page ends up at several addresses

Most duplicates are not copied pages. They are the same page reached in different ways:

CauseExample
With and without wwwexample.com/about and www.example.com/about
http and httpshttp://www.example.com/about
Tracking codes/about?utm_source=newsletter or ?gclid=... from ads
Filters and sorting/collections/shoes?sort_by=price-ascending
File endings or trailing slashes/about.html, /about/ and /about
The same product in several collectionsa product reached through two category paths
Printer or mobile versionsolder sites with separate m. addresses

Google lists the reasons to name a canonical: to choose which URL people see in search, to "consolidate signals" such as links from other sites into one URL, to simplify your analytics, and to avoid search engines spending crawl time on duplicates.

Do you need a canonical tag?

Google is direct about this: none of the canonical methods are required, and "your site will likely do just fine without specifying a canonical preference", because Google will identify the best version on its own.

So the honest answer for most small business sites is:

  • You need it to be right, not to exist. A wrong canonical does more harm than a missing one. A canonical that points every page to the home page, for example, tells Google that all your pages are the home page.
  • Your platform probably adds it already. Check before adding anything.
  • Add or fix it when the same content is reachable at several addresses you cannot remove, such as filtered product lists or pages shared with tracking codes.

Canonical tag, redirect or no-index?

ToolWhat it doesUse it when
Canonical tagBoth addresses still load; search engines are asked to index oneDuplicates must stay reachable: filters, tracking codes, a page shown in two places
301 redirectVisitors and search engines are sent to the new addressThe old address should not exist any more: a moved page, www vs non-www, http to https
No-indexThe page is kept out of search entirelyPages that should never appear in search, such as a thank-you page

Google ranks the signals: redirects are "a strong signal" that the target should become canonical, rel="canonical" is "a strong signal", and listing a URL in a sitemap is "a weak signal". They stack, so using them together helps. Google does not recommend using no-index to choose between duplicates on one site, and warns against using robots.txt for canonicalization. Our 301 redirect guide covers redirects in detail, and our robots.txt guide covers what that file can and cannot do.

What your platform already does

PlatformWhat it sets for youWhat to check
ShopifyIts help center says "auto-generated canonical tags are added to pages to prevent duplicate content"Nothing for most stores; check custom theme code if a developer changed the head. Our Shopify SEO guide lists what else is automatic
WebflowOnce you set Site settings > SEO > Global canonical tag URL, every page gets a canonical made from that base URL plus its slugThat the global URL is set, uses https, includes www if your domain does, and has no trailing slash; static pages can override it in Page settings
WordPressCore outputs a canonical tag for single posts and pages (the rel_canonical function, added in version 2.9)Archive and category pages are not covered by that function; SEO plugins usually add those. Make sure only one plugin outputs the tag

Webflow's help adds a warning worth repeating: if you also inject a canonical through another tool, such as Google Tag Manager, you get two canonical tags, "which search engines may ignore entirely". For other platforms, Google's advice is to look for a search settings page in your CMS rather than editing the code.

How we checked our own site

On 20 November 2026 we requested one of our own blog posts at five different addresses and looked at the response and the canonical tag each time:

Address requestedResponseCanonical in the page
https://www.amariq.com/blogs/301-redirect200 (loads)https://www.amariq.com/blogs/301-redirect
The same with ?utm_source=test added200 (loads)https://www.amariq.com/blogs/301-redirect
The same ending in .html308 redirect to the clean addresshttps://www.amariq.com/blogs/301-redirect
https://amariq.com/... (no www)301 redirect to wwwhttps://www.amariq.com/blogs/301-redirect
http://www.amariq.com/...301 redirect to httpshttps://www.amariq.com/blogs/301-redirect

This is the pattern to aim for: addresses that should not exist redirect, the one that must stay reachable (with a tracking code) loads but names the clean address as canonical, and every version agrees on one URL. Our sitemap and internal links use the same address.

You can run the same check without code. Open a page, add ?test=1 to the address, and view the page source (in most browsers, right-click and choose View Page Source). Search for "canonical". It should show the clean address, not the one with ?test=1. Then try the address without www (or with it) and with http, and see where you land.

Reading the canonical messages in Search Console

In Search Console's Page indexing report, several statuses mention canonicals. Google's help page explains them:

StatusWhat Google says it meansWhat to do
Alternate page with proper canonical tagThe page is an alternate of another page and "correctly points to the canonical page, which is indexed", so Google asks for no actionNothing, if the canonical it points to is the page you want indexed
Duplicate without user-selected canonicalThe page is a duplicate, gives no preferred canonical, and Google chose another page as canonicalUsually fine; add a canonical if Google chose the wrong one
Duplicate, Google chose different canonical than userYour page names itself as canonical, but Google thinks another URL is a better canonicalInspect the URL, compare the user-declared and Google-selected canonicals, and check that your redirects, links and sitemap all agree

A long list under "Alternate page with proper canonical tag" is common on stores and sites with tracking codes and is not a problem in itself. Our guide to why your website is not showing on Google covers the other indexing statuses.

Common canonical mistakes

  1. Every page points to the home page. Usually a template sets one canonical for the whole site. Every page should point to its own address.
  2. Canonical to a page that redirects or returns an error. Point to the final, working address.
  3. http or the wrong www version in the tag. It should match the address your site actually uses.
  4. Two canonical tags on one page. Often a theme plus an SEO plugin, or a tag manager.
  5. Canonical and no-index on the same page. They send mixed messages; pick one.
  6. Sitemap and canonical disagree. List only canonical addresses in your sitemap.
  7. Internal links point to the duplicate. Google asks you to link to the canonical URL within your site.

How Amariq can help

Every site we build or move gets its canonical tags, redirects and sitemap set together, and check them on the live site after launch, the same way we checked our own above. Projects are priced from scope, never by the hour, and paid 40% to start, 30% at design approval and 30% before launch. Once the final payment is made, the design, copy and code belong to you, and the domain, hosting and analytics accounts sit in your name. If you are moving platforms, see our website redesign SEO checklist, or book a call.

Frequently asked questions

What is a canonical tag in simple words?

A line in a page's code that tells search engines which address is the main one for that page, so they index and rank that address instead of its duplicates.

Does every page need a canonical tag?

Google does not require it, but a self-referencing canonical on every page is good practice and most platforms add one automatically. What matters is that it points to the right address.

Is a canonical tag the same as a 301 redirect?

No. A redirect sends visitors and search engines to another address. A canonical tag leaves both addresses working and asks search engines to index one of them. Google treats redirects as the stronger signal.

Does duplicate content cause a Google penalty?

Google's canonical documentation says you do not have to specify a canonical at all, because Google will choose the best version itself. Duplicates mainly split signals and waste crawl time, which canonical tags and redirects help with.

What does "Alternate page with proper canonical tag" mean?

Google's Search Console help says the page points correctly to its canonical, and that canonical is indexed. No action is needed unless the canonical it names is the wrong page.

How do I check a page's canonical tag?

View the page source and search for "canonical", or use the URL Inspection tool in Search Console, which shows both the canonical you declared and the one Google selected.

Can Google ignore my canonical tag?

Yes. It is a strong hint, not a command. If your redirects, links, sitemap and content point elsewhere, Google may choose a different canonical.

Rahat Khondokar, founder of Amariq

Rahat Khondokar

Founder & CEO, Amariq

Rahat designs and builds websites for marketing teams and ecommerce brands, and writes here about the structure, copy and conversion work behind them. More about Amariq. Find him on YouTube, Dribbble and LinkedIn.

Keep reading

Related articles.

All articles