What Is a Canonical URL?
What a canonical URL is, how rel=canonical prevents duplicate-content problems, and how to check yours is self-referencing and correct.
By the ToolsHub team · Updated May 1, 2026
A canonical URL tells search engines which address is the "main" version of a page when the same or similar content is reachable at several URLs. You declare it with a <link rel="canonical"> tag. Verify any page's canonical with our Canonical URL Checker.
Why it matters
The same content is often reachable at multiple URLs — with and without www, with tracking parameters, or via http and https. To a search engine those look like duplicate pages competing with each other, which splits their ranking signals. A canonical tag consolidates that value onto one chosen URL.
Self-referencing canonicals
The normal, recommended setup is for each page's canonical to point to itself. That confirms to search engines which URL is definitive. A canonical that points to a different page tells Google to index that other page instead — occasionally what you want, but a frequent source of accidental de-indexing when it's wrong.
Common mistakes to check for
- A relative URL instead of an absolute
https://one. - Multiple canonical tags on one page (only one is allowed).
- A canonical pointing at a redirect, or at a
noindexpage.
Getting canonicals right
The safest default is a self-referencing canonical: every page points to its own clean URL. Then add cross-page canonicals only where duplicates genuinely exist.
- Use absolute URLs (with https and the full domain), not relative paths.
- Point variants — tracking parameters, print pages, session URLs — at the main version.
- Don't canonicalise every page to the homepage; that tells Google to ignore them.
To see what a page currently declares — and catch a canonical pointing at the wrong place — check it with our Canonical URL Checker.
Frequently asked questions
- What is a canonical URL?
- A canonical URL is the version of a page you tell search engines to treat as the master when the same content sits at multiple addresses, consolidating ranking signals onto one.
- When do I need a canonical tag?
- Whenever content is reachable via multiple URLs — tracking parameters, http vs https, trailing slashes, or print versions. The canonical tag points them all to the preferred one.
- Does a canonical tag guarantee which URL is indexed?
- No, it's a strong hint, not a command. Google usually respects it but may choose differently if signals conflict. Our Canonical URL Checker shows what a page currently declares.
- What happens if I set the wrong canonical?
- You can accidentally tell search engines to ignore the page you want ranked, dropping it from results. Confirm each page's canonical points to itself unless you intend otherwise.