Trouble getting page and post sitemaps to successfully fetch

#1023207
  • Resolved studmuffin904
    Rank Math pro

    Hello, I am having trouble with getting google search console to fetch my sitemap. I have followed your guide to a T. Let me explain. When I submit a sitemap to GSC, it says, ‘success’ – but when I click the sitemap to see the more specific sitemaps for ‘category-index.xml’ ‘page-sitemap.xml’ and ‘post-sitemap.xml’…. only the ‘category-sitemap.xml’ shows success. The page-setup.xml and post-setup.xml is showing ‘couldn’t fetch.

    picture for reference: https://imgur.com/a/jiey7ND

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

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

    We checked your post and page sitemaps and they seem to be loading without any issues.

    Please follow the steps below:

    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/

    3. Apply the following filter code to your site.

    
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/

    4. Remove all your sitemaps from your Google Search Console and re-submit only the index sitemap (https://website.com/sitemap_index.xml)

    Let us know how that goes. Looking forward to helping you.

    Hey Jeremy, I completed all 4 of your instructions, however the same result is showing from GSC. The main sitemap gets indexed correctly, but only the ‘category-sitemap.xml’ shows success.

    The ‘page-sitemap.xml’ and ‘post-sitemap.xml’ are still showing couldn’t fetch.

    Hello,

    Please give Google some time to recrawl those sitemaps.

    After that, the “Last read” date column should also be updated.

    Looking forward to helping 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.

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

The ticket ‘Trouble getting page and post sitemaps to successfully fetch’ is closed to new replies.