Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
I checked your sensitive data and I’m afraid the information is not complete. Kindly update the information so that I may be able to login.
Looking forward to helping you. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting Rank Math today.
The noindex meta tag exists on the affected pages as shown below:
It is likely that these pages were indexed long before you configured this option since the cache information from Google dates back to 23rd September.
You can remove these result from the SERP by submitting a removal request as described on this page: https://support.google.com/websearch/answer/6349986?hl=en
Looking forward to helping you. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting Rank Math today.
For some reason the robots changes were not taking effect on the page but I have resaved it and the paginated pages are now set to noindex.
Looking forward to helping you. Thank you.
Hello,
Thanks for the follow up.
I am glad that this is now resolved 🙂
Feel free to contact us should any other issues come up. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting Rank Math today.
I am sorry for the recurring issue, please add the following code to your theme’s functions.php file to fix this:
/**
* Allows filtering of the robots meta data.
*
* @param array $robots The meta robots directives.
*/
add_filter( 'rank_math/frontend/robots', function( $robots ) {
if (strpos($_SERVER['REQUEST_URI'], "nggallery") !== false){
$robots['index'] = 'noindex';
$robots['follow'] = 'follow';
return $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.