Skip to content

feat: SEO metadata in one shape (0.6) - #15

Merged
ogorzalka merged 1 commit into
mainfrom
feat/0.6-seo
Nov 24, 2026
Merged

ogorzalka merged 1 commit into
mainfrom
feat/0.6-seo

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

The search and social metadata of a post or a term in one shape whichever SEO plugin runs, with every address on the front end (the plugins build them from the WordPress host).

  • headless_seo field (posts and terms), computed only when _fields names it: source, title, description, robots (index, follow, directives), canonical, open_graph, twitter, json_ld, breadcrumbs.
  • Yoast SEO (yoast_head_json, run against the real plugin in CI), All in One SEO (aioseo_head_json), SEOPress (its REST routes), Rank Math (its getHead head HTML). The last three are covered by unit tests only, and the README says so.
  • Rank Math's manager redirections (exact and pattern) join the site's redirects.
  • Found by the real Yoast: it leaves title out for a default title (fallback on og_title), and adds lines to robots.txt (the origin's noindex answer now runs last).
  • Not done: The SEO Framework, and the redirections of Yoast Premium, All in One SEO Pro and SEOPress.

- Seo and SeoMapper: Yoast, All in One SEO, SEOPress and Rank Math (its head HTML) read into the same keys; every address moved to the front end (canonical, og, images, structured data, breadcrumbs)
- Providers read each plugin's documented REST output from inside; headless_seo field on posts and terms, computed when _fields names it
- RankMathRedirects joins the redirects of the site
- The package's robots.txt answer runs last: Yoast adds its own lines
@ogorzalka ogorzalka added the api-change The public surface (hooks, config keys, commands) changes label Nov 24, 2026
@ogorzalka
ogorzalka merged commit 2a30bcb into main Nov 24, 2026
21 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-change The public surface (hooks, config keys, commands) changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant