Skip to content
WordPress.org
  • News
  • Showcase
  • Hosting
    • Themes
    • Plugins
    • Patterns
    • Blocks
    • Openverse ↗︎
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
    • Make WordPress
    • Education
    • Photo Directory
    • Five for the Future
    • Events
    • Job Board ↗︎
    • About WordPress
    • Enterprise
    • Gutenberg ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

SEO Fields API Support

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

SEO Fields API Support

By Dmytro Verzhykovskyi
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

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.”
    }
    }

Installation

  1. Upload the seo-fields-api-support folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. No additional setup is required -the plugin automatically registers the Yoast SEO fields with the REST API.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SEO Fields API Support” is open source software. The following people have contributed to this plugin.

Contributors
  • Dmytro Verzhykovskyi

Translate “SEO Fields API Support” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Meta

  • Version 1.1
  • Last updated 3 days ago
  • Active installations Fewer than 10
  • WordPress version 6.2 or higher
  • Tested up to 6.7.5
  • Tags
    apimetadatarest-apiseoYoast
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • Dmytro Verzhykovskyi

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.