-
Hi there,
I’m asking for help regarding an issue I have on several websites I monitor and it seems like that we, using Google Merchant Center very early in the website life can lead to important issues with indexing our pages.
For each website, we upload a feed of our catalog that includes all the variants. This means that each variant has its own link.
Example:
The product is “Rank math hoodie”
Canonical link is: domain.com/product/rank-math-hoodie
And each variant has its like this: domain.com/product/rank-math-hoodie/?attribute_pa_color=black&attribute_pa_size=xlThese attribute links redirect to the same canonical page, there is no difference, and that is what may create the problem.
The main issue is that these attribute links are indexed instead of the canonical because of the merchant center feed cannibalizes the indexing. There is no issue with the canonical tag, it’s just that Google stupidly prefers to index the wrong link for nothing, so we need to force the noindex setting on the attributes pages.
What would be the best solution that automatically noindex these attribute links but still lets Google craw and follow them?
I tried to use a PHP or javascript code but I cannot see the meta tag change to noindex as it keeps the tag of the canonical page instead.
If you could help me out with this, that would be great as we will be lots of people suffering from this problem soon, so managing to solve this now is very important.
Thank you very much to your time and hopefully we can manage this together.
The ticket ‘How to NOINDEX, FOLLOW product attributes links’ is closed to new replies.