Meta field value for noindex

#375789
  • Resolved Jorge Sáez
    Rank Math free

    Hello,

    I am trying to exclude pages in noindex from the WordPress search, and I need to know what metafield RankMath uses and what value it uses to indicate the noindex in the meta robots

    I mean something similar to:

    ‘key’ => ‘_rankmath_wpseo_meta-robots-noindex’,
    ‘value’ => ‘1’,

    Thank you very much

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Rank Math uses these values in the database for the index/noindex (wp_postmeta table):

    meta_key: rank_math_robots
    meta_value: a:1:{i:0;s:5:"index";} or a:1:{i:0;s:5:"noindex";}

    I hope that helps.

    Thank you.

    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 ‘Meta field value for noindex’ is closed to new replies.