Error: This is not a valid feed template

#70307
  • Resolved Andrea Drennen
    Rank Math business

    After switching to RankMath, my sitemap is not working. I can go to the URL, it’s not a 404, but there is nothing in it, and it’s throwing the following: “Error: This is not a valid feed template” When I tried adding it to GSC, it says “Couldn’t Fetch”

    I have reset my permalinks and removed all of the sitemap links from the cache but still nothing. I am using several caching services server-side through my host, Siteground (Cloudflare CDN, NGINX Direct Delivery, Dynamic Cache and MEMCached). I managed the exceptions in the SG Optimizer plugin.

    https://www.axela-tech.com/sitemap_index.xml/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you temporarily disable Cloudflare in the domain so we can test the changes we do? (Also, I added one extra item we need to don’t cache: main-sitemap.xsl)

    Looking forward to helping you. Thank you.

    ​​​​​​​

    OK, I wasn’t able to completely turn it off, but I put the entire site on a bypass rule so that should be essentially the same thing

    Have you been able to figure anything out?

    Hello,

    I enabled the troubleshooting mode on your site and the sitemap appears fine with only Rank math enabled and a default theme, check the screencast attached in the sensitive section. The sitemap works just fine.

    Here is the troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/. Only the site admin would know and your users won’t be affected by this troubleshooting.

    After further investigation, it seems to be related to SG Optimizer plugin. If you deactivate the optimizer plugin and clear your browser cache or use a different browser to check your sitemap, everything appears just fine.

    Looking forward to helping you.

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

The ticket ‘Error: This is not a valid feed template’ is closed to new replies.