A canonical URL signals a preferred address when several URLs show the same or very similar content. It helps consolidate duplicates created by tracking parameters or sort options.
The demo merges three addresses into one preferred URL. Canonicalization is a hint to search engines, so inconsistent content and internal links can lead them to choose another URL.
When to use
Use it when filters or parameters expose the same content at multiple URLs.