I have looked at other questions on here regarding using the X-Robot-Tag to noindex a specific page on .htaccess.
My question is similar, although I would like to noindex a group of pages and am unsure how to do this.
I am using wordpress and am using the layered-nav filter plugin that comes with woocommerce.
I have managed to noindex the majority of pages with the Yoast plugin however each option on the layered nav filter creates a page to display filtered options. these pages are of the form
https://www.mysite.co.uk/brand/brand1/?filter_cats1=cat1
every filter has a similar url ending in a similar fashion to ?filter_cats1=cat1
Is there a way I can filter out these URLs using X-robot-Tag? As mentioned, I have only seen ways to noindex specific pages, I am yet to find a way to noindex groups of pages with similar URLs