Sitemap problem

#149558
  • Resolved Vincent
    Rank Math free

    Hi,

    On RankMath, sitemap link is : [my_domain]/sitemap_index.xml
    If i open it’s written :

    “This sitemaps index XML file contains 1 sitemaps .
    Sitemap Last modification
    [my_domaine]/page-sitemap.xml”

    If i open “/page-sitemap.xml”, i can see all my pages.

    I have give “/sitemap_index.xml” to Google Search console but there is error “Unable to retrieve sitemap”
    I have give “/page-sitemap.xml” but same error.

    I don’t understand.

    Can you help me please ?

    Must i give “/sitemap_index.xml” or “/page-sitemap.xml” to Google Search Console ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    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.

    Hi,

    1. Test ok. No issues detected
    2. My website is with https and less www. All redirection works. No problem about that
    3. How to exclude Google bot to cache ?

    Anas
    Rank Math business

    Hello,

    Please follow these steps:
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/xXXhDt

    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.
    https://rankmath.com/kb/exclude-sitemaps-from-caching

    That should fix the issue. Please let us know if that does not. We are here to assist.

    Hi,

    1. Done
    2. Done

    Must i give :

    /sitemap_index.xml
    OR
    /page-sitemap.xml

    for sitemap to Google Search Console ?

    Anas
    Rank Math business

    Hello,

    You should submit the sitemap_index.xml file in the Google Search Console.

    I hope this helps. Looking forward to helping you.

    It works. Thanks !

    Anas
    Rank Math business

    Hello,

    We are super happy that your issue is resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Sitemap problem’ is closed to new replies.