Inquiry about SEO Meta Tags for Rank Math Plugin

#914019
  • Resolved Amir
    Rank Math free

    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?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Please use the following meta name our plugin used:

    rank_math_title
    rank_math_description
    rank_math_canonical_url

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Inquiry about SEO Meta Tags for Rank Math Plugin’ is closed to new replies.