Sitemap couldn’t Fetch

#980281
  • Resolved Kamran Ali
    Rank Math free

    Google search console status says sitemap ‘couldn’t fetch’. Need urgent help please.

    Thanks & Regards,
    Kamran

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

    We apologize for the issue you are facing with the sitemap showing a "couldn’t fetch" error in Google Search Console. This can be caused by several factors. Here are some steps you can take to troubleshoot and resolve the issue:

    1. Rename the Sitemap File

    Sometimes, changing the name of the sitemap file can help. In Google Search Console, go to Indexing → Sitemaps and paste the following sitemap URL:

    https://yourdomain.com/?sitemap=1

    Rename the sitemap file

    2. Fix Sitemap Issues

    • Validate Your Sitemap: Use the Validate XML Sitemap tool to check if your sitemap is correctly configured.

    An example displaying how to validate a sitemap

    • Ensure the Sitemap is Located in the Root Folder: Make sure your sitemap is in the root folder of your WordPress installation:
      https://yourdomainname.com/sitemap_index.xml

    • Ensure Your Posts Are Set to Index: Check that your posts are set to index in Rank Math SEO → Titles & Meta.

    Index Titles and Meta settings

    • Flush the Cache: Increase the value of Links Per Sitemap by one in Rank Math SEO → Sitemap Settings, then save changes. Also, go to Settings → Permalinks and click Save Changes.

    Flush Permalinks

    3. Add the Correct Version of Your Sitemap to Google Search Console

    Make sure you have added the correct URL variation of your site in Google Search Console. You can check this in your WordPress dashboard under Settings → General.

    Site Address in WordPress

    If you continue to experience issues, please reply to this ticket with your site URL so we can assist you further. Thank you for raising this concern, and we’re here to help!

    Sources:
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math

    Kamran Ali
    Rank Math free

    As suggested above when i added ?sitemap=1, the status changed to ‘Success’, but:
    /author-sitemap.xml Couldn’t fetch
    /category-sitemap.xml Couldn’t fetch
    /page-sitemap.xml Couldn’t fetch
    /post-sitemap.xml Couldn’t fetch

    Kamran Ali
    Rank Math free

    Waiting for help…

    Thanks & Regards,
    Kamran

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    We checked your website’s sitemap, and its not indeed working.

    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 resubmit only the primary one, which is /sitemap_index.xml.

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

    Kamran Ali
    Rank Math free

    Waiting for help please.

    Thanks & Regards,
    Kamran

    Kamran Ali
    Rank Math free

    Hi,

    Can i kindly get any help.

    Thanks & Regards,
    Kamran

    Kamran Ali
    Rank Math free

    Hi Jeremy,
    Thanks for your e-mail, i have done all the steps, as mentioned in your email, and then submit the sitemap to Google Search Console and its status got ‘success’, but, sitemaps of author, category, page, post are all in ‘couldn’t fetch’ status:

    Sitemap Status
    https://hyperdriveusa.com/author-sitemap.xml Couldn’t fetch
    https://hyperdriveusa.com/category-sitemap.xml Couldn’t fetch
    https://hyperdriveusa.com/page-sitemap.xml Couldn’t fetch
    https://hyperdriveusa.com/post-sitemap.xml Couldn’t fetch

    when i clicked opened it, it says:

    Sitemap could not be read

    General HTTP error 1 instance

    We encountered an error while trying to access your sitemap. Please ensure that your sitemap is present at the specified address and is not blocked to Google. See our Help Centre for more debugging help.

    Examples
    HTTP Error: 404

    Will appreciate your kind help to sort this out.

    Thanks & Regards,
    Kamran

    Hello,

    I checked your sitemap and it seems to be loading just fine on my browser.

    I went ahead and check all the variations of your sitemap and all 4 of them are all returned 200 which is incorrect. Please refer to my screenshot here:

    sitemap variation

    Only one of the 4 variations should show a 200 status code. Three (3) of the sitemaps should show 301.

    Please follow the steps in this link:
    https://rankmath.com/kb/couldnt-fetch-error-google-search-console/#5-check-for-the-correct-version-of-the-sitemap and redirect to the correct version.

    Then, please ensure that your sitemap is not heavily cached as well. Please follow the steps below to address it:

    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, resubmit the sitemap_index.xml in the Search Console and wait for Google to recrawl the sitemap.

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

    Hi Ms. Princess,

    Thanks for your reply & Sorry, i was not able to update you earlier, basically, i have already applied the solutions which was provided by Mr. Jeremy & all the sitemaps status are now showing as ‘Success’. However i have another problem the impressions of my site is continuously dropping. Kindly i need your help on that. Should i raise a new ticket. Please let me know. Waiting for your reply.

    Thanks in Advance,
    Kamran

    Hello,

    Ranking on Google depends on so much more than just your on-page optimization. You could search for your keyword or post title, or have the perfect article and still struggle to break the top 10 results when searching on Google, especially for highly competitive keywords.

    Here are some of the factors Google considers when ranking your website.

    1. Your website’s authority
    2. Your content’s quality and how better it is than the other article currently ranking.
    3. How competitive the keyword you are using is.
    4. How many backlinks you have and if they are better than what the other websites ranking for that keyword have.
    5. Your website’s crawlability.
    6. Frequency of new content and content updates.
    7. So much more that there is a dedicated blog post on it by Brian Dean 🙂 https://backlinko.com/google-ranking-factors

    Here are a few resources you will find useful while devising an SEO strategy.

    1. Carry out Keyword Research: https://mythemeshop.com/blog/keyword-research/
    2. Identify Keyword Intent: https://www.semrush.com/blog/how-to-identify-intent-in-search/
    3. Write Awesome Content: https://neilpatel.com/blog/ingredients-of-great-content/
    4. Carry out On-Page SEO: https://mythemeshop.com/blog/how-to-do-seo-optimizing-your-site-for-google/
    5. Carry out Off-Page SEO: https://mythemeshop.com/blog/how-to-do-seo-off-page-optimization/
    6. Build Backlinks: https://www.rankxl.com/outreach-link-building/

    We hope this helps.

    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 10 replies - 1 through 10 (of 10 total)

The ticket ‘Sitemap couldn’t Fetch’ is closed to new replies.