-
Hi there
I am trying to submit my sitemap to google but I’m getting this error:
>>>>’noindex’ detected in ‘X-Robots-Tag’ http header<<<<<
How do I successfully submit my sitemap to google? It’s showing sitemap not found!!!
-
Hello,
Thank you for contacting the support and we regret the inconvenience caused.
Ideally, all sitemaps have the noindex tag applied to them because they are not intended to be indexed on the search results, but instead submitted for Google Search Console and similar tools.
Can you please follow these steps?
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/3. After that, remove all your sitemaps from your GSC and resubmit only the primary sitemap (sitemap_index.xml).
Let us know how that goes. Looking forward to helping you.
Hi there
I have tried everything but still didn’t work.
Google says: ” Sitemap could not be read”Is there anything you can help with? I can provide access to my site… if you can help me to fix the issue with Rank Math sitemap.
Thanks
Hello,
Can you please share the sitemap URL with us so we can check?
If you are getting a couldn’t fetch error, you can follow this guide to fix the issue:
https://rankmath.com/kb/couldnt-fetch-error-google-search-console/We look forward to helping you.
here is the sitemap
Hello,
I checked the sitemap, it is returning a 404 error.
Please add this filter to your website:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here is a guide you can follow to add the filter:
https://rankmath.com/kb/wordpress-hooks-actions-filters/Once done, clear your website cache, check the sitemap and resubmit it in the Search Console.
Hope this helps.
Thank you.
I’m doing it now…will let u know..if it works.
Really disappointing,, that it’s not working……
I really wanted to use RANK MATH… if it doesn’t work then I must choose another plugin.I can have given access to my site… if you can help me to fix the issue with Rank Math sitemap.
>>( check sensitive area )<<
ThanksHello,
That error you shared initially only happens if you are trying to index the sitemap which shouldn’t happen.
To submit the sitemap to Google you need to follow the steps here: https://rankmath.com/kb/submit-sitemap-to-google/
Don’t hesitate to get in touch if you have any other questions.
I have tried this step, but still error…sitemap could not read.
Hello,
To get around this issue you can check the suggestions we have in this article: https://rankmath.com/kb/couldnt-fetch-error-google-search-console/
We would also recommend implementing a redirect on your server configuration to remove the
index.php
from your URLs like WordPress does by default.Don’t hesitate to get in touch if you have any other questions.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Thanks a lot. after removing
index.php
it worked.Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.
You must be logged in to reply to this ticket.