Skip to main content
Cookbook SEO SEOPress

Write Missing SEO Titles and Meta Descriptions in SEOPress with AI

Find the posts and pages SEOPress has no description for and fill them in, ten at a time, after you approve each line.

Difficulty Beginner
Time ~15 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 posts and pages that don't have one, ten at a time.

1. Run discover_abilities with category seopress. If seopress/list-posts-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/list-posts-missing-metadata with post_type ["post", "page"], missing "description", per_page 100 and page 1, then page 2 and up while page is below total_pages (stop after page 20 and say the count covers the newest 2000). It lists drafts and private posts too: keep only items whose status is publish. If I asked for other post types, such as [product], add them to post_type. Leave out WooCommerce cart, checkout and My Account pages, and login or thank-you pages: nobody finds those through search. Run run_wp_cli option get show_on_front; only if it is page, run run_wp_cli option get page_on_front and leave out that page too: while its own SEO fields are empty, SEOPress gives the front page the Home title and description set under SEO > Titles & Metas > Home (seopress_titles_home_site_title and seopress_titles_home_site_desc in seopress/get-global-titles-settings). Tell me what those are, and ask whether I want to change them there or give the front page its own description in its SEO box. Tell me how many published posts and pages have no description.
3. Take the 10 newest. For each, run seopress/get-post-title-description with post_id, and read the post with rest_api GET /wp/v2/posts/ID with context edit (/wp/v2/pages/ID for a page, or the type's own route for other types). If excerpt.raw is not empty, show it and say SEOPress already uses it as the description by default, and ask whether to keep it.
4. Write a meta description of 120 to 160 characters that says what the reader gets, using only what the post says: no invented claims, prices or dates. Run seopress/get-global-titles-settings once: seopress_titles_single_titles has the title template for each post type (by default the post title, the separator and the site name). Suggest a title only when that template would make a title over 60 characters, and keep yours under 60. Never replace a title or description that already has a value.
5. Show me a table: post, its URL, the new description with its character count, and the new title if any. Wait for my approval.
6. Save only what I approve, one post at a time, with seopress/update-post-title-description, post_id and description, plus title only if I approved one. Leave out a field you are not changing: an empty string clears it.
7. Read each saved post back with seopress/get-post-title-description and confirm the text. Fetch the live URL of the first one with get_page_html and confirm the meta description tag shows the new text. If the tag is missing, tell me to check that Titles & Metas is on in the SEO dashboard. If it shows the old text, check for a page cache before calling it a failure.
8. 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 Missing SEO Titles and Meta Descriptions in SEOPress with AI” recipe from the WPVibe cookbook on my connected site.

Most posts and pages never get a meta description of their own. SEOPress then fills the gap with the excerpt or the first words of the post, which is rarely the sentence you would want under your link in search results.

The AI asks SEOPress which published posts and pages have no description, reads each one, and writes a description of up to 160 characters from what the post actually says. It only suggests a title where SEOPress’s default would run past 60 characters. You see every line in a table before anything is saved, and it never overwrites a field that already has a value.

It works ten posts at a time, newest first, and checks the first saved one in its live page source. Posts with a hand-written excerpt are flagged, since SEOPress already uses that text. For category pages, use this recipe.

Outcome

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