I’m working on automatic posts with required inputs such as post title, content, category, featured and tags. Everything is working fine. But, Also I want to map yoast SEO keywords automatically by script.
Is there any possible way to do this?
Thanks,
Marimuthu M
Thank you for reaching out.
We are not sure what the intent of doing this would be. The key phrase options in Yoast SEO are there to get actionable advice about your content and how optimized it would be to rank for your key phrase.
You can find more about this here: https://yoast.com/focus-keyword/
Since you mention ‘keywords’, are you referring to meta keywords? If so, Yoast SEO has not been using meta keywords for a very long time, since they are not used anymore. We’ve written about this here: https://yoast.com/meta-keywords/
]]>So, I want to know is there any way to do it? like following
wp_seo_title($post->id,”Test tile”);
wp_seo_descriptioin($post->id,”Test tile”);
Please help!
]]>Hi, Yoast does not have a way to automate keywords. However, with the meta description if you leave it blank you let Google automate it. Google will then create one it best thinks works with the post/page. With the title, Yoast automatically outputs the title of the post/page as the SEO Title which will appear in Google.
The only way to force Yoast to automate keywords is to develop on the plugin. Unfortunately, there’s a difference between the support we can offer and the level of programming needed to change (core) features of our plugin. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. And even though we cannot be of any assistance, you’re completely free to change anything in the plugin to better suit your needs.
We highly recommend checking out?our list of Yoast Partners here https://yoast.com/yoast-partners/ in case you are in need of development.
We will also keep this issue open for 2 weeks in case someone from the community can help. Perhaps a developer watching these forums can assist further. After which, we will close in order to keep the overview.
]]>