Paste the tag inside the <head> of your page, before the closing </head> tag. Use exactly one canonical tag per page, and point it at a full https:// URL.
Built by Rankite, the SEO team behind Swordfish AI's +400% revenue and Zluri's +45% organic growth. See the case studies
A canonical tag is how you tell search engines which URL is the real, indexable version of a page when more than one address could serve the same content. Paste a URL into the generator above and it returns a ready-to-use link element. Below, here is what the tag does, when to reach for it, and the mistakes that quietly break it.
A canonical tag is a single line of HTML placed in the head of a page. It looks like this: <link rel="canonical" href="https://example.com/page" />. The rel="canonical" attribute marks the link as a canonical reference, and the href holds the preferred, absolute URL you want search engines to treat as the master copy. When the same content is reachable at several addresses, the canonical tag consolidates ranking signals, such as links and relevance, onto the one URL you name. Without it, search engines guess which version to index, and that guess can split your authority across duplicates or surface the wrong page in results.
Use a canonical tag any time the same or near-identical content lives at more than one URL. The most common cases are duplicate content, where a product appears under two category paths, and URL parameters, where filters, sort orders, and tracking tags like ?utm_source create dozens of variants of one page. Both should canonicalize to the clean base URL. Content syndication is another: when a partner republishes your article, the canonical on their copy can point back to your original so you keep the ranking credit. The most overlooked case is the self-referencing canonical, where a page simply points at its own URL. That is the safe default for nearly every indexable page, because it removes ambiguity and protects you from accidental duplicates spun up by trailing slashes, uppercase letters, or session IDs.
The fastest way to break a canonical is to point it at a noindexed URL. That tells search engines to consolidate on a page you also told them not to index, which is a contradiction they may resolve by dropping the lot. Next is the canonical chain: page A canonicalizes to B, and B canonicalizes to C. Always point straight at the final destination instead of hopping through intermediaries. Relative URLs are another trap. A value like /page leaves the host and protocol to interpretation, so always use the full absolute address that starts with https://. Finally, watch for multiple canonical tags on one page. If a CMS or plugin injects a second one, search engines often ignore both, and you lose the signal entirely. One tag, one absolute URL, in the head.
Want this done for you? Rankite offers technical SEO audit and monthly SEO management.
Build a clean robots.txt that tells crawlers exactly which paths to allow and block.
Turn any title into a clean, SEO-friendly URL slug that reads well and ranks.
Create valid FAQPage schema markup that can win rich results in search.
Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.
Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.