It is possible to scan custom fields with Yoast SEO. Note that you can do that only with the Yoast SEO Premium plugin and it only works on posts, products, custom post types, pages etc. It is not available on media attachment pages, taxonomies, archives, 404 pages, search pages, or author pages. In this post, we give you a step-by-step guide on how to add custom fields to Yoast SEO Premium.
To be able to add the custom fields to Yoast SEO, you need to know their names. If you are not sure what the names of the custom fields are, follow the steps in this post – Find the correct custom field name.
Related articles
Create your own custom field for use with Video or Yoast SEOAdd a custom filed in the Video SEO plugin settings
How to add custom fields to Yoast SEO Premium
Log in to your WordPress website. When you』re logged in, you will be in your Dashboard. Click the SEO item menu in the admin menu on the left-hand side. The menu expands with additional menu items. Click on Search Appearance. The Search Appearance screen opens. Click on the Content Types tab on the Search Appearance screen. There are two boxes with settings. One is for Posts, and the other one is for Pages. They both contain a custom field name input box. Add the custom field name in the input box at the bottom of the Posts/Pages settings. You can add multiple custom fields in a comma-separated list, like this: customfield,customfield2,customfield3 Click save changes.
Using Advanced Custom Fields (free or pro)
Yoast SEO (free or Premium)
If you want Yoast SEO to scan fields from advanced custom fields please install the ACF Content Analysis for Yoast SEO plugin. You can learn more about this plugin here: Plugin Compatibility.