never ending ?variant page issues

I noticed over 100 new indexed pages, and all of them are ?variant= URLs. My CMS is Shopify.

I checked every one of them, and each has a canonical tag pointing to the main product page. So technically there's no issue. But a canonical is only a recommendation for Google, not a strict rule that stops a page from being indexed. Am I right?

How should I deal with all these newly indexed variant pages? Two things I've found:

1. In my Product structured data, the offers section lists all of these variant URLs.
2. Several category pages on my site have product cards that link directly to ?variant= URLs.

Because of wasted crawl budget and duplicate content across these variant pages, I'd like to deindex them all. Is this a good decision?

I can't find one clear answer, but I think noindex, follow would be a better option than blocking them with a disallow rule in robots.txt. What do you think?
I believe that it would be logical to start from fixing internal links, especially if pages belonging to categories keep leading google to different URLs. canonicals will definitely help in this matter but there is always a possibility for google to index such pages.i would be carefful with noindex too.
 
I noticed over 100 new indexed pages, and all of them are ?variant= URLs. My CMS is Shopify.

I checked every one of them, and each has a canonical tag pointing to the main product page. So technically there's no issue. But a canonical is only a recommendation for Google, not a strict rule that stops a page from being indexed. Am I right?

How should I deal with all these newly indexed variant pages? Two things I've found:

1. In my Product structured data, the offers section lists all of these variant URLs.
2. Several category pages on my site have product cards that link directly to ?variant= URLs.

Because of wasted crawl budget and duplicate content across these variant pages, I'd like to deindex them all. Is this a good decision?

I can't find one clear answer, but I think noindex, follow would be a better option than blocking them with a disallow rule in robots.txt. What do you think?
i would be cautious about using noindex on such pages since you can never tell if google continues to disscover those URLs via ur pages.i think it would be wiser to clean up the product links nd structured data first.have u veriffied in google search console if those URLs receive impressions?
 
variant pages are a nightmare lol, canonicals plus noindex on the thin ones finally cleaned mine up tbh
 
imo fix it at the source instead of deindexing. I'd point the category cards and the offers URLs in your structured data to the main product URL, so Google stops finding the variant links in the first place. Also I wouldn't use robots.txt disallow here tbh, since then Google can't even see the canonical tag. Check a few in URL Inspection first, afaik a lot of them are probably just folded into the main page already.
 
remove the ?variant links from your category product cards first, thats what keeps feeding google those urls
 
Ya, u are right Canonicals are hints, not directives, so Google can still index variant URLs if it sees enough signals pointing to them. i'd first make sure product cards link to the main product URLs and review how Shopify generates variant URLs in structured data.if variants don't need separate search visibility, consolidate signals around the main product page..... I wouldn't rush into noindex on every variant, though. Keep them crawlable long enough for Google to see the canonical or noindex directive & avoid blocking them in robots.txt at the same time
 
fix internal links before trying to deindex everything.if your collection pages keep sending google to variant urls that could contributing to the problem. check google selected canonical in url inspection.if it already points to the main product page then theres probably no need to force a noindex on all of them.
 
I noticed over 100 new indexed pages, and all of them are ?variant= URLs. My CMS is Shopify.

I checked every one of them, and each has a canonical tag pointing to the main product page. So technically there's no issue. But a canonical is only a recommendation for Google, not a strict rule that stops a page from being indexed. Am I right?

How should I deal with all these newly indexed variant pages? Two things I've found:

1. In my Product structured data, the offers section lists all of these variant URLs.
2. Several category pages on my site have product cards that link directly to ?variant= URLs.

Because of wasted crawl budget and duplicate content across these variant pages, I'd like to deindex them all. Is this a good decision?

I can't find one clear answer, but I think noindex, follow would be a better option than blocking them with a disallow rule in robots.txt. What do you think?
do not rush to put noindex on all those pages just yet.if they are mainly dupllicate content then try nd sort out the way google finds them via internal links product data etc nd see if that helps settle things down.
 
I fix duplicate variants with one canonical page, because twenty near-identical URLs split the ranking power they share
 
Back
Top