Quantcast
Channel: WordPress.org Forums » [Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Support
Viewing all articles
Browse latest Browse all 42467

dapezboy on "[Plugin: WordPress SEO by Yoast] Importing into Yoast Meta fields"

$
0
0

Alright, so I'm writing a script for the company I work for to take posts from an XML doc and put them into our WordPress build.
I am able to get everything imported, except I cant figure out how to put them into Yoast's SEO for Wordpress.

I've tried:

update_post_meta($postID, 'yoast_wpseo_focuskw', cleanACII($value->column[2])); // Add Yoast Keywords
update_post_meta($postID, 'yoast_wpseo_metadesc', cleanACII($value->column[3])); // Add Yoast Meta Desc

But that doesn't work, anyone know of a solution? or the proper meta_keys to use for yoast?

http://wordpress.org/extend/plugins/wordpress-seo/


Viewing all articles
Browse latest Browse all 42467

Trending Articles