Linux 软件免费装

ROAS Master SEO Fields

开发者 giladch1
更新时间 2026年11月19日 17:39
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

seo meta description rest api post meta seo title

下载

1.1.0 1.4.0

详情介绍:

ROAS Master is a service by Boost Media that prepares SEO titles and meta descriptions for the pages of a site. The site owner reviews every change on an approval page, and only the approved changes are written to the site, through the WordPress REST API. WordPress lets an outside service write a page's content through its REST API, but not the SEO title and the meta description: Yoast SEO keeps them in two protected fields (_yoast_wpseo_title, _yoast_wpseo_metadesc) that its own REST API only reads. This plugin registers exactly those two fields for the REST API, for pages and posts, and nothing else. Google Tag Manager (optional). When the site owner approves it in ROAS Master, the plugin prints the site's Google Tag Manager container: Google's own snippet at the top of <head> and its <noscript> part right after <body>. Only the container id (GTM-XXXX) is stored, in one option; no other code can be set. Until an id is set, nothing is printed and nothing is loaded. Site keys (optional, 1.3.0). Two small values a search engine asks a site owner to put on the site, written through GET|POST|DELETE /wp-json/roas-seo-fields/v1/site-keys by a user who may edit other users' pages (an Editor or an Administrator): the IndexNow key — the plugin answers /<key>.txt at the site root with the key, as the IndexNow protocol asks (https://www.indexnow.org/documentation), only when WordPress answers the root of its host — and Bing's site verification — the plugin prints <meta name="msvalidate.01" content="<code>" /> on the front page. Each value is checked against its pattern before it is stored; DELETE ?key=indexnow or ?key=bing takes exactly that one off. Until a value is written, nothing is served or printed. Form submissions (optional, 1.4.0, off by default). When the site owner turns it on in ROAS Master, a submission of a form made with Elementor Pro, Contact Form 7, WPForms, Gravity Forms, Fluent Forms, Ninja Forms or Jetpack Forms is also sent to the site owner's ROAS Master lead desk, so a lead from the site is handled with the leads from the ads. See «Form submissions (external service)» below. Until it is turned on, the plugin adds no form hook, sends nothing and sets no cookie. What it does not do: The plugin answers a read-only REST route, GET /wp-json/roas-seo-fields/v1/status (users who can edit posts), with its version and mode, so a connected service can see that it is active. The container id is read and set at /wp-json/roas-seo-fields/v1/tracking, only by a user who may add scripts to the site (unfiltered_html). The plugin works on its own: any REST client with a WordPress user that may edit the page can read and write the two fields. It does not require a ROAS Master account. About ROAS Master ROAS Master (https://roas-master.boostmedia.co.il/) is the service this plugin was written for. The plugin itself never contacts it. When a site owner connects a site to ROAS Master, the service calls the site's REST API with the WordPress user and application password the owner gave it. Its terms: https://roas-master.boostmedia.co.il/terms . Its privacy policy: https://roas-master.boostmedia.co.il/privacy . Google Tag Manager (external service) Only when a container id was set, every page tells the visitor's browser to load that container from Google Tag Manager (https://www.googletagmanager.com/), as with any Google Tag Manager installation; what the container then loads is configured by the site owner in Google Tag Manager. Without an id nothing is loaded. Google's terms: https://marketingplatform.google.com/about/analytics/tag-manager/use-policy/ . Google's privacy policy: https://policies.google.com/privacy . Form submissions (external service) Off by default. It is turned on only by an administrator (manage_options) through POST /wp-json/roas-seo-fields/v1/leads with the address of the site owner's ROAS Master lead desk (https://roas-master.boostmedia.co.il/) and a key, and turned off with DELETE on the same route; GET /wp-json/roas-seo-fields/v1/status says leads: on or off (never the key). ROAS Master's terms: https://roas-master.boostmedia.co.il/terms . Its privacy policy: https://roas-master.boostmedia.co.il/privacy . The plugin's source is the plugin itself: one readable PHP file, with no build step. robots.txt (1.3.0): WordPress serves /robots.txt itself when the site root holds no robots.txt file. The route /wp-json/roas-seo-fields/v1/robots (administrators only, manage_options) reads what WordPress serves, and stores a new robots.txt only when the request names exactly what is served now (so a change prepared earlier never overwrites a newer one), no robots.txt file wins over WordPress, and the site is public. The stored text is printed through the documented robots_txt filter. Sending null removes it, and WordPress serves its own file again. Deactivating the plugin also brings back WordPress's own file.

安装:

  1. In the WordPress admin: Plugins > Add New Plugin, search for "ROAS Master SEO Fields", Install, Activate.
  2. That is all. There are no settings.
A connection whose WordPress user may install plugins can also install it through the WordPress REST API (POST /wp-json/wp/v2/plugins with the slug roas-master-seo-fields). ROAS Master does that only after the site owner approves that step.

升级注意事项:

1.4.0 Optional form submissions to the site owner's ROAS Master lead desk, off until an administrator turns them on. Nothing changes on update. 1.3.0 Optional site keys (IndexNow key file, Bing verification tag) and an administrators-only robots.txt route. Nothing is served or changed until a value is written. 1.2.0 Optional Google Tag Manager container, off until a container id is set. Nothing changes on update. 1.1.0 Prints the title and the meta description when no SEO plugin is active. No setting to change.

常见问题:

Do I need Yoast SEO?

No. With Yoast SEO the plugin opens Yoast's two fields; without any SEO plugin it prints the title and the description itself.

Does it load anything from Google?

Only when a Google Tag Manager container id was set (by you, or by ROAS Master after you approved it). Then the visitor's browser loads that container from Google, as with any Google Tag Manager installation. Without an id nothing is loaded.

Who can write the fields?

Only a logged-in WordPress user (for example through an application password) who may edit that page or post. Values are stored as plain text (sanitize_text_field).

Does it change anything when it is activated?

No. Until a value is written to a page, the page prints exactly what it printed before.

What happens when I remove the plugin?

The REST API stops accepting the two fields. The values that were written stay where they are; nothing is deleted.

Is this plugin made by Yoast?

No. It is made by Boost Media and is not affiliated with Yoast. It uses the same two field names so that Yoast SEO, when it is active, prints what was written.

更新日志:

1.4.0 1.3.0 1.2.0 1.1.0 1.0.0