How to add no-follow code to product attribute pages?
-
So I have a WooCommerce store on WordPress. I have product attributes set up, so that items can be classed, e.g. organic, gluten-free, and each of these attributes has a ‘yes’ and a ‘no’ page. When you click on one of these, you can see all products with that attribute.
While this is useful for customers, it causes massive bloat from an SEO perspective in terms of total pages indexed. So I’m looking to add no-follow to these pages.
Something like this should do it:?https://i.sstatic.net/x38dUZiI.png
However, I see no way to actually add code to attribute pages on WordPress. I tried the page edit options in the admin toolbar above the page, but these seem to be for editing the entire site. Editing products is easier as there is a UX editor available, but not with attributes.
Would anyone have an idea of how to do this?
Thank you!
- You must be logged in to reply to this topic.