# What is a canonical URL?

> A canonical URL is the main version of a page that is available at several URLs. Sites suggest one with rel=canonical, and Google makes the final choice.

Canonical: https://promptlyfound.com/glossary/canonical-url
Updated: 2026-12-01

## Short answer

A canonical URL is **the URL that a search engine treats as the main version of a page when the same content is available at more than one URL**. Sites suggest one with a rel=canonical link, a redirect or a sitemap. Google calls this a hint and makes its own choice. Search results usually point to the canonical page.

## Key findings

- Google ranks canonical signals by strength. Redirects and rel=canonical link annotations are strong signals, and inclusion in a sitemap is a weak signal. [1]
- Google says a canonical preference is a hint, not a rule, and that it may choose a different page as canonical than the site does. [2]
- Google crawls the canonical page most regularly and crawls duplicates less often, to reduce the crawling load on sites. [2]
- 91% of cited pages had a canonical tag, 30% set max-snippet:-1 and 0.3% carried noindex.

A canonical URL decides which copy of a page a search engine keeps and shows. The same product page can live at a clean URL and at URLs with tracking parameters, and the canonical gathers the signals of all those copies into one URL.

## How does a search engine choose a canonical URL?

A search engine groups duplicate pages and picks one to represent them. [Google's page on canonicalization](https://developers.google.com/search/docs/crawling-indexing/canonicalization) describes the process. When Google indexes a page, it finds the primary content. It clusters pages whose primary content is the same or nearly the same, and it marks the most complete and useful one as canonical.[2]

Google lists the signals it uses: HTTP or HTTPS, redirects, presence in a sitemap and rel=canonical link annotations. Google says a canonical preference is a hint, not a rule, so it may choose a different page than the site does. A search result usually points to the canonical page. The exception is a duplicate that suits the user better, such as a mobile page for a user on a phone.[2]

Google says some duplicate content on a site is normal and does not violate its spam policies. It gives region variants, device variants, HTTP and HTTPS versions, and sorted or filtered category pages as examples.[2]

## How do you specify a canonical URL?

Sites can state a preference in three main ways. [Google's guide to specifying a canonical](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls) ranks them by strength. A redirect is a strong signal, a rel=canonical link annotation is a strong signal, and inclusion in a sitemap is a weak signal. The methods stack, so two or more together raise the chance that the preferred URL appears in results.[1]

The most common method is a link element in the head of each duplicate page:

```html
<link rel="canonical" href="https://example.com/dresses/green-dresses" />
```

Google supports this annotation as described in RFC 6596. The same annotation can go in an HTTP header, which also works for files such as PDFs. Google recommends absolute URLs and a self-referential canonical on the canonical page. It advises against robots.txt or noindex for choosing a canonical.[1]

## How do canonical URLs affect AI search?

A canonical focuses crawling and signals on one URL. Google lists two reasons to specify one that matter here: it consolidates signals such as links from other sites into one URL, and it stops crawling time going to duplicates.[1] Google crawls the canonical page most regularly and duplicates less often.[2]

Canonical tags are common on pages that AI engines cite. In our crawl of 16,805 HTML pages cited in AI answers, 91% had a canonical tag. [Schema and structure on 16,805 pages AI answers cite](https://promptlyfound.com/research/cited-page-schema) has the full results. [How Google crawls and indexes pages](https://promptlyfound.com/crawlers/how-google-crawls-and-indexes) covers how canonical selection fits into indexing.

## Sources

1. How to specify a canonical URL with rel="canonical" and other methods. Google Search Central, 2026-07-10. https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls
2. What is canonicalization. Google Search Central, 2026-08-20. https://developers.google.com/search/docs/crawling-indexing/canonicalization

---

This is a plain-text copy of https://promptlyfound.com/glossary/canonical-url from Promptly Found. The web page is the canonical version and includes the charts.
