Skip to main content
Website guides
Technical SEOmedium6 min

How to Fix Canonical URL Issues and Avoid Duplicate Content

Canonical tags tell Google which version of a page is the real one. Get them wrong and you split your rankings or de-index good pages. Here is how to fix them.

Reviewed by Jacob Rhinehart for Strelva's co-founder; products and operations lead responsibilities.

A canonical tag is a small line in a page's code that says "this is the master version of this URL." It matters because the same content can live at several addresses: with and without www, with tracking parameters, or as a print version. Canonical tags consolidate those into one, so your ranking signals are not split.

The common mistakes

  • Missing canonical: the page has no tag at all, so search engines guess which version to index.
  • Wrong target: the page points at an unrelated URL, which can quietly de-index it.
  • Relative or HTTP URL: the tag uses /page instead of the full https:// address, sending mixed signals.
  • www mismatch: the canonical points to www while the site actually resolves on non-www, or vice versa.

Step by step

  1. Audit your pages. View source and search for "canonical." You want exactly one tag per page, pointing at the right URL with a 200 status.
  2. Set self-referencing canonicals. For unique pages (which is most of them), the canonical should point at the page itself.
  3. Use absolute, secure, consistent URLs. Always full https://, always your chosen domain format, always matching your trailing-slash convention.
  4. Point duplicates at the primary. URLs with tracking parameters or filter variations should canonical to the clean base URL.
  5. Avoid double tags. Two canonical tags on one page cancel each other out. If you use an SEO plugin, do not run a second one alongside it.
  6. Confirm in Search Console. The URL Inspection tool shows which canonical Google actually chose, so you can spot disagreements.

Keep it simple

Most platforms and SEO plugins generate correct self-referencing canonicals automatically. You only need to step in when you have genuine duplicates to consolidate. Over-engineering canonicals causes more harm than leaving the defaults alone.

Frequently asked

What business owners ask next.

What is a self-referencing canonical?

It is a canonical tag that points a page at its own URL. This is correct and recommended for unique pages; it confirms to search engines that this URL is the master copy.

Can a wrong canonical remove my page from Google?

Yes. If a page canonicals to a different, unrelated URL, you are telling Google not to index this page in favour of that one. Pointing canonicals at the wrong target is a real way to lose visibility.

Google chose a different canonical than I set. Is that a problem?

Sometimes. Google treats your canonical as a strong hint, not a command. If it disagrees, it usually means duplicate or near-duplicate content is confusing it. Differentiate the pages or consolidate them.

Rather have the website handled?

Strelva scopes and builds the site, then keeps the agreed surfaces current under a managed plan.

Get a quote