Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support devnihil

    (@devnihil)

    We checked on your sitemap and it appears that the sitemap has additional code being inserted into it by your caching plugin (see image here).

    Can you please try to ensure that your sitemap isn’t being cached by following the guide here?: https://yoast.com/help/exclude-sitemaps-from-cache/

    Thread Starter Insect Trojan

    (@insecttrojan)

    ok i added the code in the minify of w3 total cache is better now ? thanks a lot

    Plugin Support Jerlyn

    (@jerparx)

    Hi @insecttrojan

    We can see that your sitemap is still not loading properly. Since you’ve already added the code to prevent your sitemap from being cached, does the issue resolve if you clear the saved cache on the server?

    Thread Starter Insect Trojan

    (@insecttrojan)

    ok i add the code at page cache at the Never cache the following pages:
    sitemap(_index)?\.xml(\.gz)?
    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?
    ([a-z0-9_\-]*)?\.xml

    i think is better now but i still have header cache on the sitemap and i removed the comment of w3 total cache with filter at php.

    • This reply was modified 4 years, 7 months ago by Insect Trojan.
    Plugin Support devnihil

    (@devnihil)

    @insecttrojan We checked on the sitemap and it is now loading as expected so we are going ahead and marking this issue as resolved. If you require any further assistance please create a new issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘XML Sitemap error’ is closed to new replies.