Skip to main content
Cookbook SEO SEOPress

Write SEO Descriptions for Category Pages in SEOPress with AI

Give your blog and product category pages meta descriptions written from what is in them, after you approve each one.

Difficulty Beginner
Time ~10 min

Prerequisites

A site connected to WPVibe running SEOPress 10.4 or newer (tested on 10.4, free) on WordPress 6.9 or newer, with an administrator account, and Expose abilities to AI agents and external tools turned on under SEO > Advanced > Advanced > Abilities API.

The prompt
My WordPress site uses SEOPress. Write meta descriptions for my category pages that don't have one, ten at a time.

1. Run discover_abilities with category seopress. If seopress/list-terms-missing-metadata is not there, run rest_api GET /wp/v2/plugins with search seopress. If SEOPress is active, tell me its AI abilities are off until I turn on Expose abilities to AI agents and external tools under SEO > Advanced, Advanced tab, Abilities API section, and save (the MCP server and connection steps on that screen are not needed for WPVibe; if the switch is already on, the site needs SEOPress 10.4 or newer and WordPress 6.9 or newer: tell me to update), and stop. If it is installed but not active, tell me to activate it and turn on that switch, and stop. If it is not installed, tell me this recipe is for the free SEOPress plugin, and stop.
2. Run seopress/get-global-titles-settings. Under seopress_titles_tax_titles, any taxonomy with noindex "1" is kept out of search (SEOPress does this for tags by default): leave those out and tell me which. Use category, plus product_cat if WooCommerce is active, plus any other taxonomy I name, such as [event_category].
3. Run seopress/list-terms-missing-metadata with taxonomy set to that list, missing "description", per_page 100 and page 1, then page 2 and up while page is below total_pages. Leave out terms whose count is 0 (their pages are empty) and Uncategorized. Tell me how many are left.
4. Take the first 10. For each, run seopress/get-term-title-description with term_id, and read the term with rest_api GET /wp/v2/categories/ID (/wp/v2/product_cat/ID for a product category, or the taxonomy's own rest_base route for another one). If its description is not empty, show it and say SEOPress already uses it as the meta description by default, and ask whether to keep it. Read its 5 newest items: rest_api GET /wp/v2/posts with categories ID and per_page 5, or /wp/v2/product with product_cat ID and per_page 5, or for another taxonomy the route of the post type it belongs to with that taxonomy's rest_base set to ID.
5. Write a meta description of 120 to 160 characters that says what a visitor finds on that page, using only what the posts or products show: no invented claims, prices or counts that may change. Never replace a title or description that already has a value.
6. Show me a table: category, its URL, how many items it has, and the new description with its character count. Wait for my approval.
7. Save only what I approve, one at a time, with seopress/update-term-title-description, term_id and description only. Leave out title: an empty string clears it.
8. Read each one back with seopress/get-term-title-description, then fetch the first one's URL with get_page_html and confirm the meta description tag shows the new text. If it shows the old text, check for a page cache. Tell me how many are left and ask whether to do the next ten.
Already connected?

Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:

Run the “Write SEO Descriptions for Category Pages in SEOPress with AI” recipe from the WPVibe cookbook on my connected site.

Category and product category pages can rank on their own, but most of them go out with no meta description at all. SEOPress uses the category’s own description when there is one, and most categories never get one, so search engines pick a snippet themselves.

The AI asks SEOPress which category pages have no SEO description, reads the newest posts or products in each, and writes a description of up to 160 characters from what is actually there. It skips empty categories and the archives SEOPress keeps out of search, such as tags by default. You approve every line before it is saved.

It works ten categories at a time and never overwrites a description that already exists. A category with its own WordPress description is flagged, since SEOPress already shows that text. For posts and pages, use this recipe.

Outcome

Your category pages have meta descriptions written from their posts or products, saved in SEOPress and visible in the page source.