Canonical tag problems: pages sending mixed signals about their main address
Last reviewed
Your pages name a main address, but the instruction contradicts itself.
A canonical tag problem is a canonical instruction that exists but cannot be trusted: a page carries two different ones, the tag sits in the body instead of the head, it names an http address on an https site, it names a page that errors or redirects, or a script swaps it after the page loads. Google treats a clean canonical as a strong hint, and a contradictory one as noise it may set aside. Most cases come from two plugins or a template both writing the tag, and are fixed by letting a single source own it.
Why conflicting canonical tags costs you customers
When the canonical is trustworthy, Google lists the address you chose and credits that address with the links and visits the page earns. When it contradicts itself, Google falls back on its own judgment, which can put a version with campaign codes in results, an old http address, or a page you moved months ago. A canonical naming a removed page is worse: it tells search engines the real copy is something that no longer works. Visitors notice nothing, which is why this can survive several redesigns while your service pages compete with their own duplicates for the same searches.
What usually causes conflicting canonical tags
- Two SEO plugins, or a theme and a plugin, each write their own canonical into the same page
- A tracking snippet or widget pasted into the head contains elements that belong in the body, which closes the head early and strands the canonical below it
- The site switched over to https, but the template behind the tag still writes http:// addresses
- A page was renamed, deleted or redirected, and other pages still point to its old address as the preferred version
- A JavaScript framework rewrites the canonical after load, so the original HTML and the finished page disagree
- A canonical was typed by hand into one page's SEO settings and never updated after that page moved
How to check for conflicting canonical tags yourself
- On any page, open its source code through the browser's right-click menu, then search that code for canonical with the find shortcut. Count the lines that read rel="canonical": you want exactly one.
- Right-click the page again and choose Inspect, then search the Elements panel for canonical. If the tag shows up inside the body section rather than the head, something above it closed the head early. If the address here differs from the one in the source view, a script is changing it.
- Paste the address inside the tag into a fresh tab. It must begin with https://, show the same page, and keep that exact address in the bar instead of switching to another.
- In Google Search Console, run URL Inspection on the page and compare "User-declared canonical" with "Google-selected canonical". When they differ, Google has overruled your tag, often for one of the reasons above.
How to fix conflicting canonical tags
- Pick one owner for canonical tags. On WordPress that is normally your SEO plugin; if two SEO plugins are active, or the theme adds its own tag as well, your web person should switch one source off.
- When a page genuinely should name a different main copy, set that in the field meant for it, such as the Canonical URL box in the Advanced section of the Yoast SEO or Rank Math panel below the page editor, rather than pasting a second tag in by hand.
- On Wix, a page's canonical can be adjusted in that page's SEO settings. Shopify themes write it from the theme layout file and Squarespace adds it automatically, so a duplicate on either usually means an app or code injection added another.
- If canonicals still use http://, the fix belongs in the site address they are built from: in WordPress, Settings, then General, where both address fields should begin with https://. Your developer can confirm nothing else overrides it.
- Where a canonical names a removed or redirected page, point it at that content's current live address, or at the page itself.
- If a script rewrites the tag, have your developer make the original HTML carry the same canonical the script sets, or leave it out of the original HTML entirely, which is what Google asks for.
How Prsona catches conflicting canonical tags
Prsona reads the canonical on every scanned page, both as delivered and after scripts run, and reports pages with more than one, one outside the head, one naming http on a site served over https, one naming a page that fails to load cleanly, or one that scripts change. Each affected page appears with the reason found.
Prsona looks for conflicting canonical tags as part of an AI search and SEO audit and technical SEO monitoring.
Find pages whose canonical contradicts itself or names a page that no longer works.
Questions about conflicting canonical tags
What happens if a page has two canonical tags?
Search engines receive two answers to one question. Google lists giving different canonicals as a common mistake, and with mixed signals it may disregard your choice and pick an address itself. Remove the extra tag so one remains, usually by switching off whichever plugin or theme feature added the duplicate.
Can a canonical tag point to a different page?
Yes, that is its job when two pages are near copies, such as a print version or a filtered product list. The target must be a working page at its final https address. Pointing unrelated pages at your homepage, or at a page that errors, gives search engines good reason to ignore the tag.