Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi Experts,
Can you please explain the type of URLs that keep increasing my "Alternate page with proper canonical tag" errors?
Samples
?variant=44136785641712¤cy=AUD
Do I need to remove any codes from my backend?
Please send help.
Note: I already disallow the "?variant=" on my robot.txt
Hello @MsMarj ,
1. Parameters like ?variant=44136785641712 and ?currency=AUD create different versions of the same page. Search engines might see these as separate pages with similar content, leading to duplicate content issues.
2. The canonical tag is used to indicate the preferred version of a webpage when multiple versions exist. If your website is generating multiple URLs for the same content (due to parameters), you need to ensure that all these versions point to the canonical URL.
3. Common in e-commerce sites where product pages can have multiple variants (e.g., different sizes, colors, etc.), leading to different URLs for the same product.
4. Websites that offer multiple currencies may append currency parameters to URLs, creating different versions for each currency.
5. URLs might include tracking parameters (e.g., for analytics) that create additional versions of the same page.
I hope this will be useful to you.
Thanks for this @oscprofessional. Is there any way to prevent this parameters? or other way to remove it