Hi,
Thanks for getting in touch with us.
You can go to your shop page and mark it noindex from the Advanced Tab:
About the products not appearing in the sitemap, please check their index settings. If they are set to noindex, they will not appear in the Sitemap.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello
I’ve blocked the shop page. Thank you
But is there any way to set the product index to no index in batch
I need to block a lot of products
Hello,
Thank you for contacting Rank Math today.
I am afraid that we don’t yet have a bulk update option to configure this setting. You can however write some custom code to achieve this using this filter:
/**
* Allows filtering of the robots meta data.
*
* @param array $robots The meta robots directives.
*/
add_filter( 'rank_math/frontend/robots', function( $robots ) {
return $robots;
});
Looking forward to helping you. 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.