On this page
What this issue is
A canonical tag is a line in the <head> of a page that says which URL is the main version. Search engines use it to pick one URL when several pages show the same content. It looks like <link rel="canonical" href="https://example.com/page/">.
A cross-domain canonical points to a different domain from the one the page lives on. This is valid when you really do republish content on purpose, for example a syndicated article. It is a mistake when the target is an old domain, a partner or agency site, a reseller, or a template you copied from another project.
Common causes: a site migration where the old domain's canonicals were copied over, a theme or landing page cloned from a partner's site, a white-label page that still carries the supplier's tag, and an SEO plugin with a hard-coded 'canonical URL' field.
Why it costs you leads or sales
Google treats the canonical as a strong hint, not a command. When it follows the hint, your page is folded into the other domain's page. Your URL can fall out of search results, and the traffic, and the leads it would have brought, go to someone else or to nobody.
The damage is often silent. The page still loads, the form still works and tests look fine. You only see it as a slow drop in organic visits to the affected pages, and the pages affected are often your best landing pages.
- Page publishedYour landing page goes live
- Canonical points to other domainTag names partner or old site
- Google picks other URLYour URL is dropped from the index
- SearchersSee the other site, not yours
- LeadsGo elsewhere
The page works, but search results point away from it.
Example: illustrative numbers showing traffic falling after a canonical to another domain goes live in week 3.
How to check if your site has it
View the page source
Open the page, press Ctrl+U (Cmd+Option+U on Mac) and search for
canonical. Check that the domain inhrefis your own.Use Google Search Console URL Inspection
Paste the URL. Under Page indexing, compare 'User-declared canonical' with 'Google-selected canonical'. If either shows another domain, you have found it.
Check the Pages report
In Search Console, open Indexing > Pages and look for 'Alternate page with proper canonical tag' or 'Duplicate, Google chose different canonical than user'. Open examples and look at the canonical.
Crawl the whole site
Run a crawler such as Screaming Frog (its Canonicals tab and filters for canonicalised and non-indexable URLs) and sort by canonical host. Any host that is not yours needs a reason.
Check by command line
Fetch the raw HTML and pull out the tag, as in the snippet below. Also check the HTTP
Linkheader, which can carry a canonical too.
curl -s https://www.example.com/landing/ | grep -io '<link[^>]*rel="canonical"[^>]*>'
curl -sI https://www.example.com/landing/ | grep -i '^link:'How to fix it
The target is a self-referencing canonical: each page names its own full URL on your preferred domain, with https. First find where the tag is generated, because fixing the output without fixing the source means it comes back.
Check the SEO plugin
Edit the page. In Yoast SEO, open Advanced > Canonical URL. In Rank Math, open Advanced > Canonical URL. Clear any value that points to another domain.
Check Settings > General
Make sure WordPress Address and Site Address use your current domain.
Search the theme
Look in header.php and functions.php for
rel="canonical"orrel_canonicaland remove hard-coded old domains.
Open theme code
Go to Online Store > Themes > Edit code and open layout/theme.liquid.
Use the built-in canonical
Replace any hard-coded tag with
<link rel="canonical" href="{{ canonical_url }}">.Check the primary domain
In Settings > Domains, confirm the primary domain is the one you want, since
canonical_urlfollows it.
Look for injected tags
Open Tags and look for a Custom HTML tag that adds or rewrites a canonical link. Fix the domain or pause the tag.
Test in Preview
Use Preview mode, then view the rendered DOM to confirm only one canonical, on your domain.
Page settings
Open Pages, then the page's settings. Check the Canonical URL field under SEO settings and change it to the page's own URL or clear it.
Site-wide custom code
Check Site settings > Custom code for a hard-coded canonical in the head.
Check page head code
In the funnel or website builder, open the page's Settings and look at the Custom code / head tracking code area for a canonical tag.
Cloned pages
If the page was cloned from a snapshot or partner funnel, remove any canonical that names the original domain.
Advanced SEO
Open the page's SEO settings, then Advanced SEO, and look at the Canonical URL under Meta tags or Advanced SEO tags. Remove entries pointing elsewhere.
Check custom tags
Review any custom meta tags in the same panel for a pasted canonical link.
Code injection
Go to Settings > Advanced > Code Injection and check the Header for a canonical tag. Also check page-level Advanced > Page Header Code Injection.
Primary domain
Squarespace adds canonicals itself. Confirm the primary domain under Settings > Domains.
Find the source
Search the codebase and templates for
rel="canonical"and for the old or partner domain name.Build it from config
Generate the tag from one configured base URL plus the request path rather than a hard-coded string.
<link rel="canonical" href="https://www.example.com/landing/">Broken
- Canonical names old-example.com or a partner site
- Google may show the other domain
- Your page loses organic traffic
Fixed
- Canonical names the page's own https URL
- Google indexes your page
- Rankings and leads return over time
How to confirm it's fixed
- View source shows one canonical, on your own domain, using https
- The raw HTML and the rendered page show the same canonical
- No
LinkHTTP header names another domain - URL Inspection shows your URL as both user-declared and Google-selected canonical
- You requested indexing for key pages in Search Console
- A fresh crawl lists no canonicals to foreign hosts
Google needs to recrawl the pages, so recovery is not instant. Request indexing for your most important URLs and watch the Pages report over the following weeks.
How to prevent it happening again
- After any migration, crawl the new site and sort canonicals by host
- Never copy pages or templates from a partner site without clearing the head code
- Keep canonical generation in one place, using one configured base URL
- Review SEO plugin canonical fields when handing a site between agencies
- Re-crawl monthly and after major theme or plugin updates
- Set an alert in your crawler or SEO tool for canonicals pointing off-domain
How FunnelGuard handles this
FunnelGuard does not check canonical tags yet. A cross-domain canonical check is a possible future addition, not something you can rely on today.
What FunnelGuard does cover nearby: it runs your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and checks each step, the tracking hits sent to platforms like GA4 and Google Ads, and whether test leads arrive. That tells you whether visitors who do reach your site can convert. It will not tell you whether search engines are sending them.
To watch for this issue today, use Google Search Console (the Pages report and URL Inspection), a scheduled crawl in a tool such as Screaming Frog, or a small script that runs the curl check above on your key landing pages and compares the canonical host with your own.
Related visuals
Day 0
Site migrated or page cloned, old canonical left in place
Week 1-2
Google recrawls and starts treating the other domain as the main version
Week 3-6
Your pages drop out of results and organic leads fall
After fix
Canonical corrected, indexing requested, pages return gradually
Questions people ask
Why is my page not showing in Google when it is indexable?
One cause is a canonical tag pointing to another domain. Google then treats the other URL as the main version and may leave yours out. Inspect the URL in Search Console and compare the user-declared and Google-selected canonical.
Can a canonical tag point to a different domain?
Yes, it is allowed and Google supports it. It is meant for content you deliberately republish on another site. If you did not plan it, it is a mistake that can remove your page from results.
How do I find out which domain my canonical points to?
View the page source and search for rel="canonical", then read the href. You can also run curl on the URL or use URL Inspection in Google Search Console. Check the HTTP Link header too.
Why does my canonical still point to my old domain after a migration?
The old value is usually hard-coded in a theme, an SEO plugin field, a database setting or a template that was copied across. Changing the domain in redirects does not rewrite it. Search your templates and plugin settings for the old domain.
How long does it take to recover after fixing a wrong canonical?
It depends on how often Google recrawls your pages. It can take days to several weeks. Requesting indexing for key URLs in Search Console can speed this up.
Does Google always obey the canonical tag?
No. It is a strong hint, and Google may pick a different URL if other signals disagree. A cross-domain canonical is still a powerful signal, so fix it rather than hoping it is ignored.
Does FunnelGuard detect wrong canonical tags?
Not yet. A canonical check is a possible future addition. Today, use Google Search Console or a site crawler to watch for canonicals pointing to other domains.
Related issues
- SEO-045Canonical points to the staging or development domainFix guide
- SEO-043Canonical points to a 404, redirect or noindex URLFix guide
- SEO-052Google chose a different canonical than declaredFix guide
- SEO-051Canonical chains (A -> B -> C)Fix guide
- SEO-065Mirror domain or IP address serves the site with 200Fix guide
- SEO-042Missing rel=canonical on indexable pagesFix guide