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.