Great question — answering as the UphillTech team:
You can add custom code to the functions.php file, in your child theme , to add noindex meta-tags to specific product attributes. Here’s a basic example: add_action('wp_head', 'noindex_specific_attributes'); function noindex_specific_attributes() { if (is_tax('pa_organic') || is_tax('pa_glutenfree')) { echo '<meta name="robots" content="noindex">'; } } add_action('wp_head', 'noindex_specific_attributes'); This hooks your custom function into the wp_head action, which runs in the <head> section of your site. is_tax('pa_organic') || is_tax('pa_glutenfree') This checks if the current page is a taxonomy archive page for either the pa_organic or pa_glutenfree attributes. You might need to change...
Full answer by Richard: https://stackoverflow.stackexchange.com/a/78896817 (CC BY-SA 4.0).
Need it done for your business? UphillTech.