Skip to main content
miji.be

Canonical URL

A mechanism that, when multiple URLs exist for the same content, specifies the URL that search engines should index preferentially.

Oct 31, 2026 / About 1 min read

SEO

A canonical URL is a mechanism that, when multiple URLs exist for the same content, declares to search engines: "Please index this URL as the official page." It is specified with the HTML <link rel="canonical"> tag.

Cases that require a canonical URL include when a page is accessible over both HTTP and HTTPS, when both with/without www versions exist, when large numbers of URLs with UTM parameters are generated, and when mobile and PC versions have different URLs. If these are left unaddressed, search engines may treat the same content as separate pages, which can lead to the "duplicate content problem" in which ranking signals are split.

The idea that "setting a canonical tag automatically redirects duplicate pages" is a misunderstanding. A canonical tag is an instruction aimed at search engines, and it does not move the user's browser to a different URL. To move users to the canonical URL, you use a redirect such as a 301 redirect.

As for the relationship between short URLs and canonical URLs, you set the URL of the final landing page as the canonical, not the short URL itself. A short URL is an intermediate URL that passes through a redirect. Google's official documentation on redirects (as of April 2026) explains that permanent redirects are used as a signal that the redirect target is the canonical URL, while temporary redirects are not used as that signal.

If you specify the wrong URL as the canonical, a page that should be indexed may stop appearing in search results. The "URL Inspection" tool in Google Search Console lets you check the canonical URL that Google recognizes.

Was this article helpful?

Related Terms

Short URL

A condensed version of a long URL that redirects to the original destination. Short URLs are easier to share and track.

301 Redirect

A permanent HTTP redirect that tells browsers and search engines the resource has moved permanently to a new URL.

UTM Parameter

Tags added to URLs that track the source, medium, and campaign name of traffic in analytics tools.

Permalink

A permanent URL that remains unchanged over time, providing a stable reference to a specific piece of content.

SEO-Friendly URL

A URL structure designed to be easily understood by both search engines and human users.

URL Canonicalization

A process that consolidates multiple URL variations pointing to the same content into a single canonical URL for search engines. It prevents duplicate indexing.

Related Articles

URL Shorteners and SEO - How Short Links Affect Search Rankings and Link Equity

Analyze the impact of short URLs on search engine optimization. Covers 301 redirect link equity, crawl budget effects, and SEO best practices.

301 vs 302 Redirects - Choosing the Right Type for Short URLs

Understand the differences between 301 and 302 HTTP redirects. Learn how each type affects SEO, analytics, and performance for short URLs.

Vanity URL Guide: Build Brand Value with Custom Links

Learn how to design and manage vanity URLs that strengthen your brand. Covers domain selection, naming conventions, and team-wide URL governance.

FAQ

Where do you place the canonical tag?
Place it inside the HTML <head> section as <link rel="canonical" href="canonical URL">. Set only one per page; a self-referencing canonical that points to the page's own URL is also used.
When should you use a canonical tag and when a 301 redirect?
Use a canonical tag for duplicate pages that users need to be able to access, and a 301 redirect for old URLs that do not need to be accessed.

Put the terms to work

Shorten a URL for Free