sitemap page in my website is automatically disabled after some time

#349008
  • Resolved Mayank Bhardwaj
    Rank Math free

    Hello Sir, I am very much troubled by a problem
    Since I have installed this plugin of yours, I am facing a problem with sitemap.
    The sitemap page in my website is automatically disabled after some time and I get a sitemap error in my google console account
    site map URL link https://www.fastgyan.com/sitemap_index.xml
    Whose screenshot I am sharing with you
    https://prnt.sc/ZYwCgFfHWAxZ
    After that, after going inside your plugin again and changing the number of your Links Per Sitemap, then the page with Sitemap becomes active again.
    I have told this problem to your team before
    my problem is also solved by your team
    But this problem keeps coming to me again and again
    I am giving you login access to my WordPress account, please tell me why I am getting this problem again and again.
    Do I have to remove your plugin to get rid of this problem completely?

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

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    It seems like there is a server-side cache that is causing the issue with your sitemap. I have added the filter given below in your theme’s functions.php file to make sure your sitemap is excluded from caching:

    /**
     * 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 for reply…A code was added by your team before
    It worked for some time but later this problem comes again.

    Hello,

    I have checked your sitemap – https://www.fastgyan.com/sitemap_index.xml and it is working fine now.

    I have checked your previous ticket and I can see that my colleagues added this code to your website previously.

    However, it might be possible that you have switched your active theme on the site or the theme author might have released an update that removed the code which is why the sitemap was not working properly.

    Since we’ve added the code now, there shouldn’t be any issues with the sitemap going further.

    Hope this answers your question.

    Looking forward to helping you.

    Thank you.

    Thanks for this information Theme update comes every month
    Shouldn’t I update the theme?

    Hello,

    You can add the code using the Code Snippets plugin so that any theme change/update doesn’t remove the code from your site.

    Have a look at this knowledge base article for further information – https://rankmath.com/kb/wordpress-hooks-actions-filters/#code-snippets-plugin

    Hope this helps.

    Looking forward to helping you.

    Thank you.

    ok, sir thanks for this information…

    Hello,

    Glad to hear that we could help.

    Please let us know in case you require any further assistance.

    Thank you.

    sir, two days ago I told your team about my problem my problem was this I am very much troubled by a problem
    Since I have installed this plugin of yours, I am facing a problem with sitemap.
    The sitemap page in my website is automatically disabled after some time and I get a sitemap error in my google console account
    site map URL link https://www.fastgyan.com/sitemap_index.xml
    Whose screenshot I am sharing with you
    https://prnt.sc/ZYwCgFfHWAxZ
    After that, after going inside your plugin again and changing the number of your Links Per Sitemap, then the page with Sitemap becomes active again.
    I have told this problem to your team before
    my problem is also solved by your team
    A code from your team has been put in my template but today again my website has a sitemap error
    please sir solve my problem properly
    You have an expert team
    You can understand my problem in the best way
    Please visit the admin panel of my website
    sitemap issue not fixed yet

    Anas
    Rank Math business

    Hello,

    Please exclude the sitemaps from caching in Cloudflare by following this guide:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/#cloudflare

    Then, purge the cache from Cloudflare, clear the website cache and resubmit the sitemap in the Search Console.

    Hope that helps.

    Looking forward to helping you.

    Thanks for reply. I see a code on the link you provided. https://prnt.sc/ZxZ5a1oDloZD
    but i don’t understand where i have to paste this code
    Please give me a link to an article where this topic is explained step by step

    Hello,

    You can share the URL my colleague provided to your hosting provider as they are in a better position to apply the rules to further exclude your sitemap file from getting cached by Cloudflare.

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

    OK I talk to the hosting company
    If still my problem is not solved then I will contact you again

    Hello,

    Sure, we will keep this ticket open until you resolve your issue. Please keep us in the loop on how this goes. We are here to help you.

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

    ok sir

    Hello,

    Let us know if the issue appears again.

    We really look forward to helping you.

    Thanks.

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

The ticket ‘sitemap page in my website is automatically disabled after some time’ is closed to new replies.