Add Noindex To WooCommerce Products:
<meta name="robots" content="noindex, nofollow">
Solution: Smashing Magazine’s Custom Fields Hacks For WordPress
- Use hack #8: “Disable Search Engine Indexing For Individual Posts”
- Add Custom Fields code to Child Theme’s header.php
- Add Custom Field to each WooCommerce product
Thanks for the info.
Is there any global setting in woocommerce or yoast to place a noindex on product pages apart from this code ?
I haven’t looked at this for many years, so I don’t know if there’s another/better way to add NoIndex to WooCommerce product pages.