Yoast SEO
98Real-time SEO guidance, schema, and AI built in. Help search engines and AI systems understand your content. A...
Adds all the meta tags of the head section to WordPress REST API responses, including the ones generated by SEO plugins like Yoast or All in One SEO.
The REST API – Head Tags plugin for WordPress adds meta tags from the head section to REST API responses. It is designed for users who implement a headless WordPress setup and need to include SEO meta tags generated by plugins like Yoast SEO or All-in-One SEO Pack in their API output.
This plugin is compatible with several popular SEO plugins and works with core WordPress entities such as posts, pages, and custom post types. It requires the PHP DOM library, which is commonly available in PHP environments.
Best for: This plugin is suitable for developers using WordPress in a headless configuration who need to expose SEO meta tags via the REST API.
What it does well
Where it falls short
The REST API – Head Tags plugin is a specific tool for headless WordPress setups, particularly useful for those focusing on SEO integration. Its functionality is straightforward, but it may require additional setup depending on your environment.
frontity's own description of REST API, lightly tidied.
This plugin adds all the tags in the head section of a website to WordPress REST API responses.
It is perfect if you are using WordPress for a headless set-up and would like to add the meta tags generated by your WordPress SEO plugin (like Yoast SEO or All-in-One SEO Pack) to the WordPress REST API output.
This package depends on the PHP DOM library. Most PHP environments have it by default so you don’t have to worry about that.
In case you get some errors regarding this dependency make sure you have this library installed (you can take a look at this thread in the code repository).
This plugin is compatible and works out of the box with some of the most popular WordPress SEO plugins. These are the ones that we tested:
Are you using a different SEO plugin and want to know if it’s compatible? Feel free to ask in our community forum. If you tested any other plugin, please let us know as well so we can update the list.
The plugin has been developed to include the head_tags field to the REST API response of most of the WordPress core entities:
If you are using Frontity, you just have to install the @frontity/head-tags package and it will work automatically.
Other plugins for search engine optimisation.
Real-time SEO guidance, schema, and AI built in. Help search engines and AI systems understand your content. A...
Grow your organic traffic and AI visibility with powerful SEO tools, XML sitemaps, Schema automation, and buil...
Translate WordPress with Google Translate multilanguage plugin using AI translation. Complete multilingual SEO...
AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta descriptions, XML sitem...
Generate multiple types of sitemaps to improve SEO and get your website indexed quickly.
WordPress SEO plugin with AI SEO metadata, schema, XML sitemap, redirections & Search Console. Privacy-fir...