1. Home
  2. Knowledge Base
  3. WooCommerce Product Filters
  4. FAQ

Can I noindex the filter result URL's?

WooCommerce Product Filters creates a URL for every possible filter combination. These can be crawled by search engines and allow you to link directly to pre-filtered product lists.

If you would prefer to prevent search engines from crawling these URL's then you can do this using the 'robots.txt' file on your website.

To prevent search engines from indexing the filtered pages, you can add the following directive to your "robots.txt" file:

User-agent: *
Disallow: /*_wcf_filter=true

This tells search engines not to index any pages that contain the _wcf_filter=true parameter in the URL. This parameter is used in all the filtered results.

Here are some resources on how to edit the robots.txt file:

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.