• Resolved claxroma

    (@claxroma)


    Hi all, since I started to cache with W3 and Cloudflare, the sitemap on Google Search Console is not working anymore for the following websites:

    https://ibomberdellaroma.it/sitemap_index.xml
    https://thebookadvisor.it/sitemap_index.xml

    GSC returns empty sitemap.

    Do not process 404 errors for static objects with WordPress is not enabled

    I already filled the following code in Never minify the following pages: field:
    sitemap(_index)?\.xml(\.gz)?
    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?
    ([a-z0-9_\-]*)?\.xml

    How could I fix this issue?

    Thank you for your attention.

    Kind Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @claxroma,

    We didn’t find any errors in the sitemaps content type or format when we tested them, so Yoast SEO looks like it’s working as expected. Can you give us more details about the error?

    Although it looks like you’ve disabled modification, it still looks like W3 Total Cache is still caching the sitemaps. See what’s still being added if you view the source below:

    <!--
    Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/
    
    Object Caching 227/6122 objects using disk
    Page Caching using disk: enhanced 
    Minified using disk (Request URI is rejected)
    
    Served from: thebookadvisor.it @ 2020-12-06 01:19:16 by W3 Total Cache
    -->

    If you resubmit the sitemaps after excluding them from caching, does this solve the problem. You might need to wait a few days or more to see the effect of this.

    1. Check the exclude sitemaps settings to remove them from all caching: https://yoast.com/help/exclude-sitemaps-from-cache/#w3tc

    2. Delete the submitted sitemaps from each domain’s property in GSC: https://yoast.com/help/submit-sitemap-search-engines/#google-remove

    3. Re-submit the sitemaps and monitor for any errors: https://yoast.com/help/submit-sitemap-search-engines/#google-submit

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sitemap error: W3 + Cloudflare’ is closed to new replies.