Issue with Indexing Pages with Filtering, Search, and Attribute Parameters
-
Hello,
I’m experiencing an issue with a large number of pages being indexed on my site. Hundreds or even thousands of URLs with filtering parameters in categories are getting indexed by Google, despite having the following rule in my robots.txt file for a long time:
Disallow: */?filter*
Additionally, I’ve set canonical URLs for each category.
A similar issue occurs with search results. Pages with search parameters are being indexed, even though I have the following rule in my robots.txt:
Disallow: */?s=*
The same problem arises with attribute variations, such as:
Disallow: */?attribute_pa_*
Canonical pages are also set for products.
In reality, all such pages should be marked in the header as
nofollow
andnoindex
, as their indexing negatively impacts my website’s ranking.Could you please suggest any solutions? Are there standard or recommended approaches for handling such situations in WooCommerce?
I would greatly appreciate any advice!
- You must be logged in to reply to this topic.