
內容簡介
您是否使用 WordPress 進行無頭設置,使用 WP REST API?您是否也想像其他項目一樣使用 Yoast SEO 外掛程式?此外掛會將 Yoast SEO 外掛所生成的元標記新增至 WP REST API 輸出,讓您的無頭設置可以實現它們。當您使用 Yoast SEO Premium 時,您可以透過 API 取得重定向的選項:此外掛可新增自訂端點(/wp-rest-yoast-meta/v1/redirects),以 JSON 格式提供這些重定向選項。自從 Yoast 11.0,也提供支援 JSON LD Schema.org 資料,在使用此外掛時,它也透過 WP REST API 可供使用。
在 WordPress 內安裝
造訪「外掛程式 > 新增外掛程式」(或在多網站安裝時造訪「我的網站 > 網路管理員 > 外掛程式 > 新增外掛程式」)。
搜尋「WP REST Yoast Meta」。
透過 WordPress 的「外掛程式」選單啟用 WP REST Yoast Meta 外掛。
手動安裝
上傳 wp-rest-yoast-meta 資料夾至 /wp-content/plugins/ 目錄。
透過 WordPress 的「外掛程式」選單啟用 WP REST Yoast Meta 外掛。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin is no longer updated, but is open for adoption
As of Yoast SEO version 16.7 the functionality provided by this plugin is now part of the Yoast SEO plugin itself. This plugin will no longer be updated, but is open for adoption. If you are interested in adopting this plugin, please contact the authors.
Are you using WordPress for a headless set-up, using the WP REST API? And would you like to use the Yoast SEO plugin just like you would for any other project? This plugin adds the meta tags generated by the Yoast SEO plugin to the WP REST API output, allowing your headless set-up to implement them. Also when you are using Yoast SEO Premium you have the option to retrieve redirects throught the API: this plugin adds a custom endpoint (/wp-rest-yoast-meta/v1/redirects) to provide those redirects in a JSON format. Since Yoast 11.0 JSON LD Schema.org data is also supported and is now also available through the WP REST API when using this plugin.
Installation from within WordPress
Visit ‘Plugins > Add New’ (or ‘My Sites > Network Admin > Plugins > Add New’ if you are on a multisite installation).
Search for ‘WP REST Yoast Meta’.
Activate the WP REST Yoast Meta plugin through the ‘Plugins’ menu in WordPress.
Installation manually
Upload the wp-rest-yoast-meta folder to the /wp-content/plugins/ directory.
Activate the WP REST Yoast Meta plugin through the ‘Plugins’ menu in WordPress.
