Add Noindex To WooCommerce Products

Add Noindex To WooCommerce Products:

[code]<meta name="robots" content="noindex, nofollow">[/code]

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

2 Comments

  1. Prarthana on June 24, 2017 at 3:42 am

    Thanks for the info.
    Is there any global setting in woocommerce or yoast to place a noindex on product pages apart from this code ?

    • Reid Walley on June 24, 2017 at 10:24 pm

      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.

Leave a Comment