Change meta tags title and description via the WordPress API

Continuing the discussion from Add meta tags title and description via the WordPress API:

I have the same question as @ev1levan , How can I specify title or Metadescription using YoastSEO Rest API? or Wordpress API?

I found this documentation website:

https://developer.yoast.com/features/seo-tags/descriptions/api/
However I don´t know how to use it in AP…
Anyone knows how to do it?

Thanks.

@Javier_Martinez the Yoast API can not be used for setting a meta title or meta description. What could be used is a custom field option via ACF I.e.

Within the Yoast setting on wordpress you can set a ‘custom snippet variable’. Which you have to link to the custom field. In that way you can automate the metadescription and meta title field for a post or taxanomy etc.

1 Like