plugin-icon

SEO Fields API Support

Exposes SEO fields managed by Yoast SEO to the WordPress REST API for programmatic updates.
版本
1.1
活跃安装
40
最后更新
Apr 6, 2026
SEO Fields API Support

SEO Fields API Support is a lightweight plugin that enhances the WordPress REST API by making Yoast SEO fields – such as SEO titles and meta descriptions -available for programmatic updates. This plugin is perfect for developers and site owners who need to automate or manage SEO metadata efficiently via the REST API.

Key Features

  • Yoast SEO Integration: Exposes _yoast_wpseo_title and _yoast_wpseo_metadesc fields in the REST API.
  • Wide Compatibility: Supports all public post types, including posts, pages, and custom post types.
  • Secure: Includes authentication checks and data sanitization to ensure safe updates.
  • Lightweight: Only activates its features when Yoast SEO is installed, minimizing overhead.

Compatibility

  • Requires WordPress 6.2 or higher.
  • Requires Yoast SEO to be installed and activated.

Usage

After activation, you can update SEO fields using the WordPress REST API. Below is an example:

  • Updating a Post: Send a PUT request to /wp/v2/posts/<post-id> with this JSON body: `json { “meta”: { “_yoast_wpseo_title”: “Custom SEO Title”, “_yoast_wpseo_metadesc”: “Custom meta description for SEO.” } }
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.7.5
这个插件是可用的下载,适用于您的站点。