On this page
What this issue is
A canonical tag is a line in the <head> of a page that tells search engines which URL is the main version of that content. It looks like <link rel="canonical" href="https://example.com/page/">. It is a hint, not a command, but Google uses it as a strong signal.
Why it costs you leads or sales
When several URLs show the same page, ranking signals such as links get split between them. Google may also show a variant you did not intend, such as a URL with ?utm_source= or ?sort=price, in search results. Visitors landing on those can have broken tracking, wrong attribution or a messy URL that lowers trust.
- Ad or linkVisitor arrives on /offer/?utm_source=x
- No canonical in headPage gives no preferred URL
- Google guessesIndexes a variant or splits signals
- Search resultWrong or weaker URL ranks
Without a canonical, each URL variant competes as its own page.
How to check if your site has it
View the raw HTML of one page
Open the page, press Ctrl+U (Cmd+Option+U on Mac) and search for
canonical. You want exactly one<link rel="canonical">inside<head>.Test with curl
Run the command below. No output means no canonical in the raw HTML. Also check the HTTP
Linkheader, which can carry a canonical too.Use Google Search Console
Open URL Inspection, enter the URL and look at 'User-declared canonical' and 'Google-selected canonical'. 'None' for the declared one confirms the issue.
Crawl the site
Run a crawler such as Screaming Frog (Canonicals tab, filter 'Missing') or Sitebulb. Filter to indexable pages only.
Prioritise
Fix landing pages, product and service pages, and blog posts first. Skip pages that are noindex or redirect.
curl -s https://example.com/page/ | grep -i 'rel="canonical"'
# Also check the HTTP header
curl -sI https://example.com/page/ | grep -i '^link:'How to fix it
The rule is simple: every indexable page gets one canonical in the <head>, pointing to its own preferred URL. Use an absolute URL with https and your chosen host (www or not), and match your trailing slash style. How you add it depends on your platform.
Check your SEO plugin
WordPress core adds canonicals for posts and pages. If they are missing, a theme or plugin may remove them. Yoast SEO, Rank Math and All in One SEO output them by default.
Look for conflicts
Deactivate plugins one at a time and re-check the source. Search the theme for
remove_action( 'wp_head', 'rel_canonical' ), which removes the core tag.Set per-page overrides only when needed
In Yoast, open the page's Advanced section and leave 'Canonical URL' blank to get the self-referencing default.
Check theme.liquid
Most themes include the canonical in
layout/theme.liquid. Open Online Store > Themes > Edit code and search forcanonical_url.Add it if missing
Paste the line from the Liquid snippet below inside
<head>.
Open page settings
Webflow does not add a canonical to each page automatically. In the Pages panel, open a page's settings and add a link tag in Custom code in the head.
Use the full URL
Enter the absolute https URL of that page. For CMS pages, use the Add Field option inside the template's head code to insert the slug.
Check Advanced SEO
Wix adds canonicals automatically on most pages. To review, open the page's SEO settings, then Advanced SEO tab, then check the canonical field and Tags.
Rely on the default
Squarespace outputs a canonical on pages by default. If you do not see one, check for Code Injection that strips it, and contact Squarespace support if the page template omits it.
Avoid it if you can
Injecting a canonical with a Custom HTML tag works only after JavaScript runs and can differ from the raw HTML. Prefer a server-side or template fix.
Last resort
If you cannot edit templates, a tag can add the link element on page view. Test with URL Inspection's rendered HTML.
Add it in the shared head template
Output the tag from your layout or header partial, built from the clean page path without query strings.
Or use the HTTP header
For PDFs and non-HTML files, send a
Link: <https://example.com/file.pdf>; rel="canonical"header.
Add it in tracking code
Open the funnel or website page settings, go to Settings > Custom Code > Head Code and paste a canonical link with that page's absolute URL.
<head>
<meta charset="utf-8">
<title>Your page title</title>
<link rel="canonical" href="https://example.com/your-page/">
</head><link rel="canonical" href="{{ canonical_url }}">Before
- No canonical tag in the head
- /offer/ and /offer/?utm_source=x both indexable
- Google picks the preferred URL
After
- One self-referencing canonical per page
- Parameter versions point to /offer/
- Signals consolidate on one URL
How to confirm it's fixed
- Raw HTML (curl or view-source) shows exactly one canonical in the head
- The href is absolute, uses https and matches your preferred host
- Adding
?utm_source=testto the URL still shows the clean canonical - URL Inspection in Search Console shows a User-declared canonical
- A re-crawl shows no indexable pages under 'Missing canonical'
- Noindex and redirecting pages were left out of the fix
How to prevent it happening again
Canonicals usually disappear after a theme change, a plugin update, a new page template or a migration. Add a canonical check to your launch checklist for new templates, and re-crawl after any of those changes.
- Output the canonical from one shared template, not by hand per page
- Include a canonical check in QA for every new template or landing page builder
- Schedule a monthly crawl filtered to indexable pages with missing canonicals
- Watch the Page indexing report in Search Console for 'Duplicate without user-selected canonical'
- Re-check after theme, plugin or CMS updates and site migrations
How FunnelGuard handles this
FunnelGuard does not check for missing canonical tags today. It is a possible future check, not a current feature. FunnelGuard is a synthetic monitoring service that runs your real customer journeys (lead forms, checkouts, booking buttons), checks each step and the tracking hits sent to ad and analytics platforms, and confirms test leads arrive.
Nearby, that means it can show when a journey or landing flow breaks, but it will not tell you a page lacks a canonical. To watch for this issue, use Search Console's Page indexing report and URL Inspection, plus a scheduled crawl in a tool such as Screaming Frog or Sitebulb. A free read-only website audit is available from FunnelGuard, but treat the crawl above as your canonical check.
Questions people ask
What happens if a page has no canonical tag?
Google chooses the preferred URL itself, based on redirects, links, sitemaps and content similarity. If the page has only one URL this is usually harmless. If it can load under several URLs, the wrong one may be indexed and signals can be split.
Do I need a canonical tag on every page?
Every indexable page should have one. A self-referencing canonical, pointing to the page's own clean URL, protects against parameter, protocol and slash variants. Pages set to noindex or that redirect do not need one.
How do I check if my page has a canonical tag?
View the page source (Ctrl+U) and search for rel="canonical", or run curl -s URL | grep -i canonical. You can also use URL Inspection in Google Search Console and read the User-declared canonical field.
Is a self-referencing canonical tag good practice?
Yes. A self-referencing canonical points a page to its own preferred URL. It tells search engines which version to index when tracking parameters or other variants of the URL appear.
Why does Search Console say 'Duplicate without user-selected canonical'?
It means Google found duplicate or near-duplicate URLs and none declared a canonical, so Google picked one itself. Add a canonical tag to those pages pointing to the version you want indexed.
Should the canonical URL use www or non-www?
Use whichever your site redirects to as its main version, and keep it consistent. The canonical should be an absolute URL with https, the same host and the same trailing slash style as your main URLs.
Can I add a canonical tag with Google Tag Manager?
You can inject one with a Custom HTML tag, but it only appears after JavaScript runs and may differ from the raw HTML. Adding it in the page template or server output is more reliable.
Does FunnelGuard check for missing canonical tags?
No. It is a possible future check. FunnelGuard monitors journeys, tracking hits and lead delivery today, so use Search Console and a scheduled crawl to watch canonicals.
Related issues
- SEO-043Canonical points to a 404, redirect or noindex URLFix guide
- SEO-044Canonical points to the home page from every pageFix guide
- SEO-047Canonical in the body, not the head, or multiple canonicalsFix guide
- SEO-048Canonical set by JavaScript differs from the raw HTML canonicalFix guide
- SEO-052Google chose a different canonical than declaredFix guide
- SEO-058UTM or click-ID parameter URLs indexed as duplicatesFix guide