Unable to upload website on google console.

#1006603
  • Rohit
    Rank Math free

    “Sitemap could not be read” showing whenever try to submit sitemap

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

    We apologize for the issue you are facing with submitting your sitemap to Google Search Console. The "Sitemap could not be read" error can occur for a few reasons. Here are some steps you can take to troubleshoot and resolve this issue:

    1. Validate Your Sitemap

    Make sure your sitemap is correctly configured. You can validate your sitemap using the Validate XML Sitemap tool. If your sitemap is correctly configured, the tool will return a success message.

    An example displaying how to validate a sitemap

    2. Ensure the Sitemap is Located in the Root Folder

    If you manually created the sitemap, ensure it is installed in the root folder of your WordPress installation. The URL should look like this:
    https://yourdomainname.com/sitemap_index.xml

    3. Check Your Sitemap URL in Google Search Console

    When submitting your sitemap, ensure that you are entering the correct URL in Google Search Console. It should be just the path after your domain, like sitemap_index.xml.

    4. Ensure Your Posts Are Set to Index

    If all your posts are set to noindex, your sitemap may appear empty. To check this, go to Rank Math SEO → Titles & Meta and ensure that the Index checkbox is enabled for your posts.

    Index Titles and Meta settings

    5. Rename the Sitemap File

    If the above steps do not resolve the issue, try renaming your sitemap file. In Google Search Console, navigate to Indexing → Sitemaps, and in the Add a new sitemap field, enter:
    https://yourdomain.com/?sitemap=1

    Rename the sitemap file

    If you continue to experience issues after trying these steps, please reply to this ticket with your website 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,

    Thanks for contacting Rank Math support. We apologise for any inconvenience this might have caused you.

    We checked your sitemap, and it is opening fine. Please follow the steps below to see if it 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 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. If the above steps doesn’t seem to work, kindly apply the following filter code to your site.

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

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

    Once done, please clear your website cache, remove all the submitted sitemaps, and resubmit only the main sitemap in the Search Console and see if that works for you. You don’t need to submit the page sitemap in the search console.

    Let us know how it goes. We look forward to hearing from you.

    Thank you.

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

You must be logged in to reply to this ticket.