Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi Maike,

    According to this research, it is advised to block those in some scenarios.

    Using a faceted navigation can prove extremely useful for consumers looking for specific products within your website, but you need to ensure that any URLs generated as a result of filters being applied don’t hold back the performance of your original category pages in organic search results.

    The SEO Framework has a built in filter to add that specific line you mentioned :).

    This is the filter:

    add_filter( 'the_seo_framework_robots_disallow_queries', '__return_true' );

    I hope this helps! ??

    Thread Starter woo-do

    (@woo-do)

    Hi Sybre,

    thanks for your detailed answer. A very interesting article. I

    t seems that Woocommerce (? or the SEO Framework) automatically sets a canonical URL. So I think the filter is actually not needed.

    Have a nice evening!
    Maike

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi Maike,

    That’s correct, it’s The SEO Framework. And it’s done for the reasons given in that article. This slipped my mind :).

    It only adds them back for translation URLs, like with WPML and qTranslate X (and Polylang is planned).

    Thanks! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blocking query parameters’ is closed to new replies.