-
Hello, dear support team,
I have written a code and I want to add a list of posts to my blog while using your plugin for SEO.
I have written a PHP code, but I am unsure which meta tags to use for SEO so that the information is properly registered in your plugin.
$post_id = wp_insert_post(array(
'post_title' => $title,
'post_content' => $content,
'post_excerpt' => $excerpt,
'post_status' => 'publish',
'post_type' => 'post',
'post_date' => $post_date,
'post_date_gmt' => $post_date_gmt,
'meta_input' => array(
'_seo_title' => $seo_title,
'_seo_description' => $seo_description,
'_seo_canonical' => $seo_canonical
)
));
Instead of using _seo_title, _seo_description, and _seo_canonical, which meta tags should I use to ensure the information is properly saved in the Rank Math plugin?
The ticket ‘Inquiry about SEO Meta Tags for Rank Math Plugin’ is closed to new replies.