Sitemap could not be read

#279559
  • Resolved Asif Ahmmad
    Rank Math free

    Hi

    I’ve noticed on Google Search Console that my Sitemap could not be read.

    On the sitemaps page, I see: /sitemap_index.xml Status: couldn’t fetch

    this SS will help you to understand https://prnt.sc/1x5nznm

    General HTTP error 1 instance

    HTTP Error: 403

Viewing 7 replies - 1 through 7 (of 7 total)
  • Tammy
    Rank Math business

    Hello,

    Thank you for contacting Rank Math today, and we apologize for any inconvenience this may have caused.

    Can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. 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/

    Once done, clear your website cache and resubmit thesitemap_index.xml in the Search Console.

    That should fix the issue.

    I hope this information is helpful, and please do not hesitate to contact us if you require any additional support.

    Thank you.

    Hi
    thanks for your awesome reply

    I am Completely okay with step 1. But neither I use any cache in plugins nor Cloudflare for Cache purge.
    I use Ezoic for Speed optimization.

    could you please help me with step 2?

    Thanks
    Asif

    Hello,

    If the Ezoic plugin accepts Regex for the caching rules you can add the rules that are mentioned on that file under the Cloudflare section.

    
    sitemap?\.xml?
    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\xml|xsl)?
    ([az0-9_\-]*?)sitemap([a-z0-9_\-]*)?.xml
    

    Also, please note that if you see a 403 error on the sitemap it means that Googlebot is not able to access the sitemap because it’s getting blocked by some firewall rule to see the contents of that file.

    Don’t hesitate to get in touch if you have any other questions.

    Hi

    I don’t think the Ezoic plugin accepts Regex.

    Yup, My search console says its HTTPS Error: 403
    You can check it here: https://prnt.sc/1x5vuo8

    Now the question is how can I fix this firewall block?

    thanks

    Hello,

    From what we can check from our side the robots.txt file is fine and it lets Googlebot access the sitemap just fine.

    So, this would indicate that your firewall or some other server rule might be blocking this. You would need to get in touch with the hosting provider or the firewall provider to do a thorough check of the rules that are implemented on the website.

    Unfortunately, there’s nothing we can do from our side since this is not related to Rank Math as our plugin is generating the sitemap correctly.

    Don’t hesitate to get in touch if you have any other questions.

    Hi
    Thanks for your valuable advice
    Thanks 😊

    Azib Yaqoob
    Rank Math business

    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.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The ticket ‘Sitemap could not be read’ is closed to new replies.