What Is a Canonical Tag, and Does Your Small Business Website Need One?
Short answer: a canonical tag is a short line of code in a page's head that tells search engines, "this is the main address for this content." Most small business websites should have one on every page, usually pointing to the page itself. It helps search engines pick the right version of a page when the same content can be reached at more than one address.
What is a canonical tag, in one sentence?
A canonical tag is a hint, placed in the page's code, that names the preferred web address for that page's content.
It looks something like this in the page source:
<link rel="canonical" href="https://www.example.com/services/" />
Visitors never see it. It's there only for search engines.
How do duplicate pages happen on ordinary sites?
You might think your site has no duplicate pages, because you never copied anything. But the same page can often be reached at several addresses without anyone meaning it to. Common examples:
- www and non-www. example.com/about and www.example.com/about can show the same page.
- Trailing slashes. /services and /services/ may both work.
- Tracking links. When you share a link with campaign tags added to the end, such as ?utm_source=newsletter, that full address can be visited and saved by search engines too.
- Filtered or sorted lists. On a shop, a product list sorted by price or filtered by colour often has its own address, while showing mostly the same products.
- Print or preview versions of pages that some systems create automatically.
To a person, these are all the same page. To a search engine, they can look like separate pages with identical content.
Why does it matter?
When search engines find several addresses with the same content, they have to choose one to show in results. They usually choose sensibly, but not always. They might show the version with a tracking code on the end, or split signals such as links between several versions.
A canonical tag tells them which version you prefer. It doesn't force the choice, but it's a clear, consistent signal, and search engines generally follow it when the rest of your site agrees with it.
What are the common mistakes?
Canonical tags are simple, but a few mistakes come up again and again:
- Pointing every page to the home page. This sometimes happens when a template sets one canonical address for the whole site. It tells search engines that all your pages are copies of the home page, which is the opposite of what you want.
- Pointing to a page that doesn't work. A canonical that leads to a missing page or a redirect sends a confusing signal.
- Conflicting signals. If your sitemap lists one version of an address, your internal links use another and your canonical names a third, search engines have to guess.
- Mixing http and https, or www and non-www. The canonical should use exactly the version of your address that visitors end up on.
- Forgetting new pages. Pages added later, such as blog posts or landing pages, sometimes miss out on the tag.
How can you check a page's canonical yourself?
You don't need special tools to take a quick look:
- Open the page in a desktop browser.
- Right-click and choose the option to view the page source.
- Search the source for the word "canonical".
- Check that the address after href is the correct, full address of that page, with the right www or non-www version and https.
If you've set up your site in a search engine's webmaster tools, its URL inspection feature will also show which address the search engine has chosen as canonical, and whether that matches the one you declared. If the two differ, it's worth finding out why.
How do canonicals fit with your sitemap and structured data?
These three pieces work best when they all agree.
- Your sitemap should list only the canonical address of each page. If you're not sure what a sitemap is, read what an XML sitemap is and how to submit it.
- Any structured data on the page, such as business or article details, should use the same canonical address. Our guide to structured data for a small business website explains what that markup does.
- Your internal links should point to the canonical version too, so search engines see one consistent address everywhere.
When the sitemap, canonical tags, structured data and links all name the same address, search engines have a clear picture of your site.
Want your technical search basics set up properly?
We set up canonical tags, sitemaps and structured data so they all agree, and check them as your site grows. See our technical search set-up service, or message us on WhatsApp.
Frequently asked questions
Does every page need a canonical tag?
It's a sensible default. A self-referencing canonical, where each page names its own address, costs nothing and protects against duplicates created by tracking links or small address differences.
Is a canonical tag the same as a redirect?
No. A redirect sends visitors and search engines from one address to another, so the old address no longer shows the page. A canonical tag leaves every version working for visitors and simply tells search engines which one to treat as the main one.
Will a canonical tag improve my rankings?
There's no promise of that. A canonical tag helps search engines pick the right page and keeps signals together on one address. It's part of a sound technical set-up, not a ranking shortcut.