Sitemap Not Being Fitch In Google Console

#1110423
  • I followed the steps needed to add my sitemap to Google Search Console, and Google couldn’t fitch it.
    I was wondering if you could please give me a step-by-step instruction on fixing the issues.

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

    We apologize for the issue you are facing with your sitemap not being fetched in Google Search Console. Here are some step-by-step instructions to help you troubleshoot and fix the issue:

    1. Validate Your Sitemap

    • Enter your sitemap URL into the Validate XML Sitemap tool to check for any errors. If it’s correctly configured, you should see a "No issues detected" message.

    An example displaying how to validate a sitemap

    2. Ensure the Sitemap is Located in the Root Folder

    • Make sure your sitemap is located in the root folder of your WordPress installation. The URL should look like this:
      https://yourdomainname.com/sitemap_index.xml

    3. Check Your Site URL Variation

    • Confirm that you are using the correct URL variation in Google Search Console. You can find this in your WordPress dashboard under Settings → General. Ensure it matches one of these formats:
      • http://yourdomain.com
      • http://www.yourdomain.com
      • https://www.yourdomain.com
      • https://yourdomain.com

    Site Address in WordPress

    4. Flush the Cache

    • If your sitemap appears outdated, navigate to Rank Math SEO → Sitemap Settings and increase the value of Links Per Sitemap by one, then save your changes.

    Increase links per sitemap

    • After that, go to Settings → Permalinks and click Save Changes to ensure the current settings are applied.

    Flush Permalinks

    5. Exclude the Sitemap From Caching

    6. Add the Correct Sitemap to Google Search Console

    • Go back to Google Search Console and navigate to Indexing → Sitemaps. Paste the correct sitemap URL in the Add a new sitemap field and click SUBMIT. Make sure there are no spaces in the URL.

    Add the sitemap to Google Search Console

    If you still encounter issues after following these steps, 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

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Hello,

    We can see your attachment sitemap is currently returning a 404 error. In this case, please try to follow the steps below and see if that works for you:

    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 from 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 to your site to disable the transients cache for the sitemap.

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

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

    Once done, clear your website cache, remove all the submitted sitemaps, and resubmit only the /sitemap_index.xml in the Search Console.

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

    Thank you.

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

You must be logged in to reply to this ticket.