Hello,
I’m sorry to hear about the issue you are facing with Google Search Console showing that some pages can’t be indexed due to the ‘noindex’ detected in the ‘robots’ meta tag. To resolve this, we need to ensure that the ‘noindex’ directive is not present in the meta tag of those pages.
To remove the ‘noindex’ directive from specific pages like member profile pages, you can follow these steps:
- Access the WordPress admin area.
- Navigate to the specific member profile page, for example, https://www.contentkingapp.com/academy/robotstxt/?utm_source=Rank+Math#wordpress
- Edit the page and look for the Rank Math SEO settings.
- In the Rank Math SEO settings, ensure that the ‘noindex’ option is disabled for this page.
If you are unable to find the Rank Math SEO settings on the page, you can also check the global settings in Rank Math SEO to ensure that there are no site-wide settings causing this issue.
If you need further assistance or if you encounter any difficulties while making these changes, please reply here, and a human agent from our support team will assist you promptly.
Thank you for bringing this concern to our attention.
Sources:
Using Rank Math’s ‘Quick Actions’ Admin Menu Item
How to Fix the “Indexed, though blocked by robots.txt” Error » Rank Math
How to Fix ‘Blocked by robots.txt’ Error in Google Search Console » Rank Math
Fix Excluded by NoIndex Tag – Google Search Console Status » Rank Math
Why Google Hasn’t Indexed Your Post, Page, and/or Website? » Rank Math
This is a page controlled by a template that pulls in certain user info. The template is set to index but when I view the page source, I can see that name = ‘robots’ and content = ‘follow, noindex’. Where can I change this? I tried to paste a screenshot but don’t see where to do that.
Hello,
Thank you for your patience.
We’ve checked the page, and indeed it is set to noindex.
For initial troubleshooting, please check if those pages are registered in Rank Math > Titles & Meta > [Post Type] where you can set their robots meta.
If not, then you may use this filter to set those pages with /member/ in the URLs:
add_filter( 'rank_math/frontend/robots', function( $robots ) {
$url = home_url( $_SERVER['REQUEST_URI'] );
if( (strpos($url,"member") !== false) ) {
$robots["index"] = 'index';
$robots["follow"] = 'follow';
}
return $robots;
});
And here’s a guide on how to add a filter to your site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
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.