30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Update Post Type Archive SEO

seo/update-post-type-archive-seo changes the SEO title and meta description templates for one post type’s archive, and whether that archive is indexed.

It only applies to post types registered with has_archive.

At a glance

Abilityseo/update-post-type-archive-seo
ToolsetYoast SEO — toolset/yoast-seo
GroupYoast SEO › Archives & System Pages
RequiresYoast SEO, active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

The archive is a page that exists whether or not anybody has thought about it, and its default title is generally the post type’s label followed by the site name — accurate and entirely uncompelling.

Since it is frequently the page that ranks for the category of thing the site sells or publishes, the template is worth writing deliberately.

The indexing toggle here is the archive’s own, separate from whether individual items of that type are indexed. An archive can be noindexed while its items are indexed, which is the right configuration when the archive adds nothing a visitor wants.

Yoast titles and descriptions are templates — patterns like %%title%% %%sep%% %%sitename%% expanded per page — rather than literal strings.

Writing for a type with no archive stores a template nothing uses. It is harmless and it is also not what you meant.

Idempotent.

Input

NameTypeRequiredWhat it is
post_typestringYesThe post type.
titlestringNoThe SEO title template for the archive.
descriptionstringNoThe meta description template.
noindexbooleanNoWhether the archive is excluded from search.

What comes back

NameTypeWhat it is
updatedarrayWhich settings changed.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Give the products archive a proper SEO title.

It resolves to one call:

{
  "ability": "seo/update-post-type-archive-seo",
  "parameters": {
    "post_type": "product",
    "title": "All products %%sep%% %%sitename%%"
  }
}

Worth knowing

  • The archive’s indexing is separate from its items’ indexing.
  • Writing for a type with no archive stores a template nothing reads.
  • Often the page that ranks for the whole category of content.
  • Idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading