Hello,
Thank you for getting in touch and I am extremely sorry about the trouble this might have caused.
I am sorry but doesn’t have a feature to bulk update the index/noindex option. You may have to change this in your individual posts in WP > Posts > Your Post > Advanced Tab in Rank Math.
Screenshot:
A work around to this would be to define all the posts in an array or a category then use the following filter which will change the robots meta in the front end making the posts specified to have an indexable robots tag.
/**
* Allows filtering of the robots meta data.
*
* @param array $robots The meta robots directives.
*/
add_filter( 'rank_math/frontend/robots', function( $robots ) {
global $post;
$robots['index'] = "noindex";
return $robots;
});
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.