Duplicate content occurs when several URLs serve the same or very similar main content. Common examples include tracking parameters, sorting options and different paths to the same page. Search engines can group these versions and select a representative URL.
When should you use a canonical or a redirect?
If a URL variant needs to remain accessible for a filter view and shows equivalent content, you can specify the preferred URL as canonical. If an old URL has permanently moved to an equivalent new one, redirect it directly. Link consistently to the preferred URL and align the sitemap and canonical signals. Distinct language versions need their own language annotations.