Skip to content

Releases: Mrshahidali420/wp-seo-meta-bridge

v2.0.0 — auto-detect SEO plugin + REST bridge

Choose a tag to compare

@Mrshahidali420 Mrshahidali420 released this 11 Jul 18:38

First public release of WP SEO Meta Bridge.

Detects the active SEO plugin — Rank Math, Yoast SEO, or SEOPress — and exposes only that plugin's fields to the WordPress REST API, so the block editor, headless front ends, and MCP agents (e.g. EMCP Tools) can read and write SEO metadata while building pages. No Pro add-on required.

Highlights

  • Auto-detects the active SEO plugin at runtime (RANK_MATH_VERSION / WPSEO_VERSION / SEOPRESS_VERSION).
  • Registers only that plugin's fields — SEO title, meta description, focus keyword, canonical, robots, Open Graph and Twitter — as REST-visible post meta, each with a friendly description, correct type, sanitisation, and an edit_post auth check.
  • Discovery endpoint GET /wp-json/seo-meta-bridge/v1/fields reports which plugin is active and exactly which keys to set.
  • Bridges EMCP Tools via the emcp_tools_content_allowed_protected_meta filter, so protected (Yoast / SEOPress) keys are writable through update-post and readable through get-post.
  • Never clobbers a meta key the SEO plugin already registered itself.
  • All in One SEO is intentionally not supported — it stores metadata in its own table rather than post meta.

Install

Download wp-seo-meta-bridge-2.0.0.zip below, then in wp-admin go to Plugins → Add New → Upload Plugin. Or drop wp-seo-meta-bridge.php into wp-content/mu-plugins/ to run it as a must-use plugin.

Requires WordPress 6.0+, PHP 7.4+, and one of Rank Math / Yoast SEO / SEOPress.