GSC couldn't fetch sitemap

  • Morning,

    I recently published ggoutfitting.com and have been making my way through the settings. I verified the site in GSC, but it says the sitemaps couldn’t be fetched. I have saved permalinks, but that did not resolve the issue. Please advise.

    Thank you!

    Jessica

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Please get in touch with your host and temporarily deactivate the Cloudflare cache and then resubmit a new sitemap on your GSC. I have checked from https://onlinecurl.com/ and you sitemap is 200 OK header response which means that Google should be able to fetch it.

    Let me know how this goes. Thank you.

    ​​​​​​​

    Thank you for the reply. I disabled the clouflare caching, and tried resubmitting the sitemap, still getting the same error.

    Same here. I disable Cloudflare and done everything.

    Could you please check the following:
    1. Is the sitemap working fine in your browser? You can check that by going domain(.)com/sitemap_index.xml

    If the sitemap is working fine, you can try validating it on this link: https://www.xml-sitemaps.com/validate-xml-sitemap.html

    If the validation works, please move to the second point.

    2. Have you verified the correct version of your website on Google? Please check if you have verified the www (or non-www) and https (or http) version of your website. If there is a mismatch, please fix that.

    3. Finally, make sure you have cleared the cache and excluded Google bot from seeing a cached version of your sitemap.

    If you have followed these and you are able to view your sitemap without any problem, then Rank Math is outputting your sitemap correctly and the error must be coming from Google. You can try and use a 3rd party sitemap plugin to confirm. Just make sure you have disabled the Sitemap module of Rank Math in WordPress Dashboard > Rank Math > Dashboard when using a 3rd party sitemap plugin.

    If the other plugin works, please do let us know.

    Thank you.

    I verified the sitemap is working fine with the link you posted. Also verified the site is listed correctly with search console. I’m now getting an error from GSC stating the sitemaps are empty…which they clearly are not. https://ggoutfitting.com/page-sitemap.xml

    I tried using a third party plugin, no luck there. So I went back and reactivated the sitemap option in Rankmath. Now I’m getting these errors with the validation link –
    XML Validation Results
    error Problem detected, please check details below
    Sitemap URL https://ggoutfitting.com/page-sitemap.xml
    Character Set
    Sitemap is valid No
    Warnings –
    Errors
    Incorrect http header content-type: “text/html; charset=UTF-8” (expected: “application/xml”)

    Looks like it just worked – I added this to the robots.txt file –

    User-agent: *
    Allow: /
    Sitemap: https://ggoutfitting.com/sitemap_index.xml

    Hi Jessica,

    Thanks for the follow up.

    I am glad that you were able to fix through editing this record 🙂

    Feel free to contact us should any other issues come up. Thank you.

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

The ticket ‘GSC couldn't fetch sitemap’ is closed to new replies.