Gravton SEO Bridge

Description

Yoast SEO and Rank Math keep each post’s SEO title and meta description in post meta, but they do not make those fields available for writing through the standard WordPress REST API. Gravton SEO Bridge registers those fields with the REST API so that an approved app or script can update them the same way it updates the post title or content.

It is a companion plugin for Gravton, a service that helps stores and brands show up in AI search answers. When a site owner connects Gravton to WordPress (with a core WordPress Application Password that the owner approves), Gravton can suggest a better SEO title and meta description and, after the owner says yes, save them. Without this plugin, Gravton skips those two fields.

You do not need a Gravton account to use it. On its own, it is a small REST API helper: any tool that signs in to your site’s REST API as a user who can edit a post can read and write that post’s SEO title and meta description.

What it does

  • For posts, pages and WooCommerce products (products only when WooCommerce is active), it adds these fields to the meta object of the REST API:
    • Yoast SEO: _yoast_wpseo_title and _yoast_wpseo_metadesc
    • Rank Math: rank_math_title and rank_math_description
  • It registers only the fields of the SEO plugin you have active. If both are active, it registers both sets. If neither is active, it registers nothing.
  • It adds one read-only route, GET /wp-json/gravton/v1/status, that reports the plugin version, the active SEO plugin and its version, and which post types and fields are available. Only users who can edit posts can read it.

Who can change what

  • A field can be read or changed only by a signed-in user who can edit that particular post (the edit_post capability). Visitors and users without edit rights see nothing new and can change nothing.
  • Values are cleaned as plain text before they are saved. Yoast SEO and Rank Math template variables such as %%sep%% or %category% are kept as they are.
  • The plugin has no settings screen, adds no admin notices and changes nothing on the front end of your site. Your SEO plugin still outputs the title and description as usual.

External services

This plugin does not connect to any external service. It makes no outgoing HTTP requests of any kind.

The Gravton service connects to your site from outside, through the WordPress REST API, using an Application Password that you create and approve in WordPress. That connection is made and controlled by you, and works the same way with or without this plugin. You can revoke it at any time under Users > Profile > Application Passwords. Gravton’s terms of service: https://gravton.ai/legal/terms. Gravton’s privacy policy: https://gravton.ai/legal/privacy.

Privacy

The plugin itself does not collect, store or send any data. It has no tracking, no analytics, no cookies and no outgoing requests, and it creates no database tables or options.

What it does change: it makes each post’s SEO title and meta description readable and writable through your site’s REST API, for signed-in users who can edit that post. If you authorize an external application to use your REST API, for example Gravton with an Application Password, that application can read these fields and copy them to its own servers, and can write new values. That data is then handled under the application’s own terms and privacy policy (for Gravton: https://gravton.ai/legal/terms and https://gravton.ai/legal/privacy).

You control this access. You can see and revoke every Application Password at any time under Users > Profile > Application Passwords, and deactivating this plugin removes the SEO fields from the REST API.

Installation

  1. In your WordPress admin, go to Plugins > Add New Plugin and search for “Gravton SEO Bridge”.
  2. Click Install Now, then Activate.
  3. Make sure Yoast SEO or Rank Math is active. There is nothing to configure.

To check that it works, sign in to the REST API as a user who can edit posts and open /wp-json/gravton/v1/status on your site.

FAQ

Do I need a Gravton account?

No. The plugin works on its own as a REST API helper. Gravton uses it when you connect your site to Gravton, but nothing in the plugin depends on Gravton.

Does this plugin send data to Gravton or anyone else?

The plugin itself sends nothing: it makes no outgoing requests and only answers REST API requests that come to your own site from signed-in users. But an application you authorize, such as Gravton, can read the SEO title and meta description through those requests and store them on its own servers. See the Privacy section.

Which SEO plugins are supported?

Yoast SEO and Rank Math, free or premium. If neither is active, the plugin does nothing.

Can anyone change my SEO titles with this?

No. Only a signed-in user who already has permission to edit that post can read or change its SEO title and meta description. That is the same permission needed to change the post itself in the editor.

Which post types are covered?

Posts, pages and WooCommerce products. Developers can change the list with the gravton_seo_bridge_post_types filter.

How do I write a field through the REST API?

Send the field inside meta when you update the post, for example POST /wp-json/wp/v2/posts/123 with the body {"meta": {"_yoast_wpseo_metadesc": "Your new description"}}. For WooCommerce products use /wp-json/wp/v2/product/123.

What happens when I uninstall it?

Nothing is deleted, because the plugin stores nothing of its own. Your SEO titles and descriptions belong to your SEO plugin and stay in place.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Gravton SEO Bridge” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Gravton SEO Bridge” into your language.

Interested in development?

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

Changelog

1.0.0

  • First release: Yoast SEO and Rank Math title and meta description in the REST API for posts, pages and products, and the gravton/v1/status route.