Duplicate documentation must remain available on both domains
- Decision
- Point the duplicate at the matching preferred page and keep the signals consistent.
Find out why a canonical points to another domain, when that is intentional, and how to fix a wrong target without losing a page you want indexed.
A cross-domain canonical names a URL on another hostname as the preferred copy of a page. It can be intentional when the URLs serve equivalent content. If your own URL should appear in search, inspect the canonical in the HTML head and HTTP headers, fix the rule that sets it, and check what Google selects after recrawling.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
If your store points every product to an old staging host, a different brand, or the other domain's homepage, inspect the rule that generated the tag. The common part of the target URL tells you where to look. One wrong hostname across many matching paths points to the configured site origin. Unrelated paths suggest a template fallback or a bad migration map.
Fetch the affected URL with a GET request. Look for a canonical relation in the response's Link header and the HTML head. Check the rendered head too if the site changes it with JavaScript.
Follow redirects on the target separately. Check that the final page is accessible, contains the corresponding content, and names the expected canonical. A redirect to a homepage warrants a URL mapping check.
Compare a working URL from the same content type. Check the CMS canonical field, the default site origin, and rules on the edge or reverse proxy. When the hostname is unfamiliar and no authorized rule explains it, review the site for injected code.
Correct the HTML or response header at its source. Use links and sitemap entries that match the preferred URL. For a permanent move, map equivalent pages directly to their final destinations.
curl -sS -D /tmp/canonical-headers.txt -o /tmp/canonical-page.html 'https://docs.example.com/setup' && rg -in '(^link:|rel=["\x27]canonical)' /tmp/canonical-headers.txt /tmp/canonical-page.htmlThe command is a quick inspection for common header and HTML forms. Open the HTML head if the markup spans several lines or lists several values in the rel attribute. The result shows what the server declared. Use the selected canonical check to compare that declaration with Google's indexed choice.
2 questions people ask next, answered from the sources on this page.
The tag declares a preferred URL. A redirect sends the visitor and crawler to a different address. Choose the mechanism based on whether the source page needs to remain available.
Yes. Google can select a different representative when it sees duplicate pages and conflicting signals. Check both the content it receives and the canonical, redirect, and sitemap signals you control.
Run the free audit, then approve the fixes. Every change can be undone.