Your page has one address, but the web rarely leaves it at that. Filters add parameters, shares append tracking codes, and other sites link to you with extra codes you never chose. Each variant is the same page at a slightly different address, and a search engine has to decide which address deserves the credit. A self-referencing canonical is the quiet line of code that answers on the page's behalf: this address, exactly as written, is the preferred one.

This guide explains what self-referencing means, when a page should point at itself and when it should point somewhere else, and how to generate the tag with the free Canonical Tag Generator on Ovatly. It also covers the honest limit of the whole exercise: a canonical tag is a strong hint, not a command, so it works best when your other signals agree with it.

Contents

  • Quick answer
  • What a canonical tag does
  • What self-referencing means
  • When a page should point at itself
  • When a page should point somewhere else
  • How to generate a self-referencing canonical, step by step
  • Worked example: a kettle at two addresses
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Yes: as a default, every page should carry a canonical tag that points at its own full, absolute URL. To create one, open the Canonical Tag Generator, enter the page's own address including the protocol, choose the self-referencing option, and copy the generated tag into the <head> of the page. The exception is a true duplicate version, such as a filter or print view of a page: that version should point at the preferred version instead of at itself. Keep exactly one canonical tag per page, because multiple conflicting tags are usually ignored.

What a canonical tag does

A canonical tag is a link element with rel="canonical" that sits in the <head> of a page. It tells search engines which URL is the preferred version when similar content exists at several addresses. Instead of guessing which variant to credit, the engine is handed an answer, and signals from the duplicate versions generally consolidate onto the canonical URL. That consolidation is the main reason to set the tag correctly: it decides where the credit for the content lands.

The tag itself is one line. For a page whose preferred address is a shop's kettle page, it looks like this:

<link rel="canonical" href="https://example.com/kettle">

Everything else in this guide is about choosing the right address to put in that line, and for most pages the right address is the page's own.

What self-referencing means

A self-referencing canonical points a page at its own URL. If the kettle page lives at https://example.com/kettle, its canonical tag names that same address. Nothing is redirected and nothing changes for visitors; the tag simply confirms, in a form search engines read, that this is the address to credit.

It is good practice even on pages that look unique. The reason is that you do not control every address your page ends up with. The moment someone shares a link carrying a tracking code, or your own site adds a parameter for sorting or filtering, a second address exists that serves the same content. The self-referencing tag confirms the preferred address despite those additions, so the variants fold back onto the clean URL instead of competing with it.

When a page should point at itself

Point a page at itself when it is the preferred version of its content: the normal product page, article, guide or listing that you want credited and shown. That covers the large majority of pages on a site. Each one gets its own tag naming its own absolute URL, protocol included. A relative address is not enough; relative canonicals are unreliable, and the generator rejects them outright.

This default also keeps your signals consistent. Internal links, sitemaps and canonical tags that all name the same clean addresses reinforce each other. A canonical that names an address your own links never use asks the engine to resolve a contradiction, and engines are free to resolve it against you.

When a page should point somewhere else

The exception is a version that exists only as a variant of another page. Filter views, print views and parameter copies should canonicalise to the preferred version, not to themselves. If the filtered kettle page pointed at itself, it would claim to be a separate preferred page, splitting the signals the clean page should collect.

Cross-domain canonicals are the other supported case: the same content published on two sites, such as a main site and a syndication partner, can point at one preferred address on the other domain. And some situations are not canonical work at all. When an old URL should never be visited again, such as a moved page or the http version of a page that now lives on https, a redirect is the right tool. A canonical is for addresses that must keep working.

How to generate a self-referencing canonical, step by step

  1. Open the Canonical Tag Generator.
  2. Enter the full, absolute URL of the preferred version of the page. For a self-referencing tag, that is the page's own address, protocol included.
  3. Choose the self-referencing option, confirming that the URL is this page's own address.
  4. Copy the generated tag into the <head> of the page. Where duplicate versions of the page exist, the same tag, naming the preferred version, goes into the <head> of every duplicate version too.

Worked example: a kettle at two addresses

A shop shows the same kettle at "/kettle" and at "/kettle?color=black". The clean address is the preferred version, so it carries a self-referencing tag. Entering the canonical URL "https://example.com/kettle" in the generator produces:

<link rel="canonical" href="https://example.com/kettle">

Placed on the clean page, that tag is self-referencing: the page names itself. Placed on the filtered version as well, the same line tells search engines to credit the clean URL for both. One tag, one preferred address, and the parameter variant stops competing with the page it filters.

Limitations

A canonical tag is a strong hint, not a command. Search engines can choose a different canonical if signals conflict, for example when internal links point elsewhere. A self-referencing tag therefore works as part of a consistent set of signals, not as an override. It also does not move visitors: anyone who opens a parameter variant still sees that variant. If an address should never be visited at all, use a redirect instead. Finally, the tag must be exact. A relative URL is unreliable, and a page carrying two conflicting canonical tags will usually have both ignored.

Common mistakes

  • Skipping the tag because the page has no duplicates. Parameters and tracking codes create variants without asking you. The tag is what folds them back.
  • Using a relative canonical. The URL must be absolute and include the protocol; relative canonicals are unreliable.
  • Letting a duplicate point at itself. A filter or print view that self-references claims separate preferred status and splits the signals.
  • Adding a second canonical tag. A template and a plugin can each add one. Multiple conflicting tags are usually ignored, so keep exactly one.
  • Using a canonical where a redirect belongs. Moved pages and http to https changes should redirect; canonicals are for versions that must keep working.

FAQs

What does self-referencing mean? A self-referencing canonical points a page at its own URL. It is good practice: it confirms the preferred address even when parameters or tracking codes get added to links.

Does a page with no duplicates still need a canonical tag? Yes, as a default. Links to the page can pick up parameters and tracking codes you never chose, which creates variant addresses. A self-referencing tag confirms the clean address as the preferred one.

Canonical or redirect: which should I use? Redirect when the old URL should never be visited, such as moved pages or http to https. Use a canonical when several URLs must keep working, such as filter and print versions of one page.

Does a canonical pass link value? Generally yes: signals from duplicate versions consolidate onto the canonical URL, which is the main reason to set it correctly.

What happens if a page has two canonical tags? Multiple conflicting canonical tags are usually ignored. Every page should have exactly one canonical tag.

Conclusion

Self-referencing is the sensible default: every preferred page names itself, in absolute form, exactly once, and its duplicate versions name it too. The Canonical Tag Generator turns that into a ten-second job per page: enter the address, choose self-referencing, paste the tag into the <head>. For the ways canonical tags go wrong and get ignored, read the companion guide, Canonical Mistakes That Make Google Ignore Your Pages. More guides like this one live in the SEO Tools guides archive.