=== 42flows SEO Meta === Contributors: 42flows Tags: seo, rest-api, yoast, rank-math, aioseo Requires at least: 5.6 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html Registers SEO meta fields for WordPress REST API write access. Required for 42flows content delivery. == Description == 42flows SEO Meta enables REST API write access to SEO meta fields for posts and pages. It auto-detects your active SEO plugin (Yoast SEO, Rank Math, or All in One SEO) and registers only the relevant meta fields with `show_in_rest`. This plugin is required if you use [42flows](https://42flows.com) to publish SEO-optimized content to your WordPress site. Without it, SEO titles, meta descriptions, and focus keyphrases cannot be set via the REST API. = Supported SEO plugins = * **Yoast SEO** — `_yoast_wpseo_title`, `_yoast_wpseo_metadesc`, `_yoast_wpseo_focuskw` * **Rank Math** — `rank_math_title`, `rank_math_description`, `rank_math_focus_keyword` * **All in One SEO** — `_aioseo_title`, `_aioseo_description`, `_aioseo_keywords` = What it does = * Detects which SEO plugin is active on your site * Registers that plugin's meta fields with `show_in_rest => true` for posts and pages * Adds `sanitize_callback` (sanitize_text_field) and `auth_callback` (requires edit_posts capability) * Does nothing if no supported SEO plugin is detected = What it does NOT do = * Does not modify your existing SEO data * Does not add any admin pages, settings, or UI * Does not load any JavaScript or CSS * Does not make any external API calls * Does not store any data == Installation == 1. Install the plugin from the WordPress plugin directory, or upload the ZIP file via Plugins > Add New > Upload Plugin. 2. Activate the plugin. 3. No configuration needed — the plugin auto-detects your SEO plugin. == Frequently Asked Questions == = Do I need this plugin? = Only if you use 42flows to publish content to your WordPress site and want SEO meta fields (title, description, focus keyphrase) set automatically via the REST API. = What if I don't have an SEO plugin? = The plugin does nothing if no supported SEO plugin (Yoast, Rank Math, or AIOSEO) is detected. It is safe to keep installed. = Is it safe? = Yes. It only registers existing meta fields for REST API access with proper sanitization and authentication. Only users with the `edit_posts` capability can write to these fields. All input is sanitized with `sanitize_text_field`. = Does it work with custom post types? = Currently it registers meta fields for posts and pages. Support for custom post types can be added in a future version. == Changelog == = 1.0.0 = * Initial release. * Support for Yoast SEO, Rank Math, and All in One SEO. * Meta fields registered for posts and pages.