I am facing problem with google search console sitemap

#284809
  • Resolved Mayank Bhardwaj
    Rank Math free

    Hello Sir Good Morning Sir i am facing problem with google search console sitemap
    see this screenshot https://prnt.sc/1y853lv
    sidemap url is not working on my website
    site map url link https://www.fastgyan.com/sitemap_index.xml
    I solved this problem after seeing this article of yours
    But I keep getting this problem again and again
    please tell me why this problem is happening again and again
    I am giving you the admin panel of my website. please check my problem

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

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

    I went ahead and flushed the sitemap cache by following this video guide: https://i.rankmath.com/pipRDp

    The sitemap is now working. Please proceed with excluding 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/

    After that, remove all your sitemaps from your GSC and resubmit only the primary sitemap (sitemap_index.xml).

    That should fix the issue.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thanks For Reply
    After reading your article I have already set this
    Here is the link to the first article https://rankmath.com/kb/sitemap-404-error/
    Here is the link to the second article https://rankmath.com/kb/exclude-sitemaps-from-caching/
    and this is the screenshot of the cache plugging https://prnt.sc/1y8dmcd
    I have already done all these settings
    If you want, you can also check by losing my admin panel.
    now my problem is solved
    But next week again rotten I will have this problem
    I don’t understand why I keep getting this problem again and again

    Hello,

    If you keep getting the issue then it means that there is some server-side cache that is caching your sitemap. You should get in touch with your host and confirm that they have excluded your sitemap from being cached.

    You can also use the filter given below in your theme’s functions.php file to exclude sitemap from being cached:

    /**
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Hope this helps. Let us know if you need any other assistance.

    Thanks.

    Thanks for this information …..I have also talked to the hosting company on this topic
    But he said that this is not a problem because of his hosting.
    You have just been given a code for a functions.php
    can you add that code to the template
    I will also test the code given by you.
    You have a link to the admin panel of my website
    Please paste your code which you have given to me in the right place.

    Hello,

    I have added the code to your theme’s functions.php file. Please observe if the issue will occur again in the future. We are here to help you.

    In the meantime, please don’t hesitate to contact us anytime if you need our assistance with anything else.

    thank you for helping me
    If I face this problem again then I will contact you

    Hello,

    You’re very much welcome. Please do let us know how it goes.

    Thank you.

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

You must be logged in to reply to this ticket.