Skip to main content
Cookbook SEO WooCommerce

Bulk Noindex WooCommerce Product Categories with AI

Set WooCommerce product categories to noindex (or back to index) through Yoast in one approved pass, verified against Yoast's own output.

Difficulty Beginner
Time ~10 min
Tools run_wp_cli, rest_api

Prerequisites

A connected WooCommerce site with Yoast SEO active, and a recent backup

The prompt
Using WPVibe on [your site URL], change which WooCommerce product categories search engines index, through Yoast SEO.

Set these categories to noindex: [category names or slugs]. Set these back to index: [category names or slugs, or "none"]. Leave every other category alone.

Work like this:
1. List all product categories with their current Yoast index setting and show me a table of category, current value, and proposed value. Wait for my approval before changing anything.
2. After I approve, read the current wpseo_taxonomy_meta option and merge my changes into it. Never overwrite entries for categories I did not name.
3. Yoast serves robots tags from a cached indexables table, so after saving the option, trigger a rebuild for each changed category with an empty REST update on the term (PUT /wp/v2/product_cat/ with body {}).
4. Verify by reading each changed term's yoast_head_json.robots over REST, and show me a final table of category, robots value, and category URL so I can spot-check.

If any category still shows the old value after rebuilding, stop and tell me what you found instead of retrying.

Already connected to WPVibe?

Skip the copy-paste. Just ask your AI for the “Bulk Noindex WooCommerce Product Categories with AI” recipe, or describe the task, and WPVibe runs these steps on your own site.

A WooCommerce catalog collects categories that have no business in Google. Internal groupings, duplicated brand trees, seasonal leftovers, thin categories with one product that compete with the product page itself. Yoast SEO can noindex any of them, but only one at a time on each category’s edit screen, so on a store with sixty categories the cleanup stays on the someday list.

Ask your AI instead. It reads every product category with its current Yoast setting, shows you a table of exactly what will change, and waits for your approval before touching anything. Then it updates Yoast’s stored taxonomy settings in one pass, merging into what is already there rather than overwriting it, and refreshes Yoast’s cached output for each category it changed. It does not assume success at the end. It reads the robots value back from Yoast’s own rendered head for every category it touched and shows you the result.

Paste the prompt below with your category lists filled in, and take a backup first, as you would before any bulk settings change. Two things worth knowing. Categories you noindex drop out of Google gradually rather than instantly, and putting one back is the same ask with the lists swapped, so nothing here is a one-way door. Just be sure a category is not earning search traffic before you remove it.

Outcome

Every category you named serves the robots value you chose, confirmed from Yoast's rendered head.