Canonical URL
Keep the product's campaign URLs accessible, but declare the parameter-free URL as canonical and use it in the sitemap.
Keep the product's campaign URLs accessible, but declare the parameter-free URL as canonical and use it in the sitemap.
example.com/product/headphones<link rel="canonical" href="https://example.com/product/headphones">A page declares its preferred representative: A page with parameters or another duplicate entry can use rel=canonical in its head to point to the URL it prefers search systems to recognize as representative.
The visited URL and representative can differ: People may still open the parameterized current URL, and the address bar normally does not change because of canonical. The sitemap should use the chosen representative too.
Set the no-parameter product URL as the canonical in the head of parameterized pages, and list only that main URL in sitemap.xml. Check each page's canonical, the sitemap list, and the browser address bar to confirm that canonical does not automatically redirect the parameterized page.