• Hi All,

    I have the Yoast SEO plugin and W3 Total Cache. Both work almost flawlessly but I’m having an issue where my Yoast sitemap_index.xml looks like its getting converted to html. If I purge the cache, it works as expected for a few minutes and then reverts to html. In the source I see the following;

    <!– XML Sitemap generated by Yoast SEO –>
    <!– Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

    Page Caching using disk: enhanced
    Minified using disk (Request URI is rejected)

    Served from: https://www.mysite.com @ 2017-08-28 16:11:55 by W3 Total Cache –>

    Unless I’m missing something, I have added to the never minify settings page the following;

    sitemap(_index)?\.xml(\.gz)?
    ([a-z0-9_\-]+)?sitemap\.xsl
    [a-z0-9_\-]+-sitemap([0-9]+)?\.xml(\.gz)?

    I have the following in my never cache the following pages settings;

    wp-.*\.php
    index\.php
    https://www.mysite.com/sitemap_index.xml

    Any help or pointers to the right direction would be much appreciated.

    • This topic was modified 7 years, 3 months ago by sdawales.

    The page I need help with: [log in to see the link]

  • The topic ‘Is W3 Total Cache Breaking my Yoast XML sitemap?’ is closed to new replies.