meta_key rank_math_robots is missing in table

#409264
Viewing 3 replies - 1 through 3 (of 3 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support.

    We generate individual robots meta_key only when you manually set/modify the robots meta settings. Otherwise, the default settings, from Rank Math > Titles & Meta > Posts/Pages/CPTs > Robots Meta, are used.

    Could you confirm if you’re getting a different robots meta setting in the page source of the newly published posts if the robots meta is not manually saved?

    Looking forward to hearing back from you.

    Thank you.

    Hallo Prabhat,

    we use custom query to show our sitemaps. since sitemaps must be based on language, from what i know if it’s not multisite all pages are mixed in one xml.

    so we have custom query for this. and to get only indexed pages we use that query :
    meta_key=”rank_math_robots” and meta_value not like “%noindex%”

    Hello,

    Unfortunately, we cannot change this behavior in the plugin and when the pages don’t have a specific set of data in the postmeta table it means they are using the default values from the settings.

    In this case, you will need to change the query so that it tries to find the data inside the metadata key and if it can’t find it a fallback should be done to look inside the options table for the settings of that CPT.

    All the settings for the post types are saved under the key rank_math_options_titles in the options table.

    Don’t hesitate to get in touch if you have any other questions.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘meta_key rank_math_robots is missing in table’ is closed to new replies.