• I’m using WordPress and Woocommerce with the (in my opinion) best plugins Yoast SEO and W3 Total Cache. Bu I have some issues with the sitemap, Google keeps sayin the sitemap (index) is empty.

    W3 Total Cache settings:
    1. The W3TC Extension ‘WordPress SEO by Yoast’ is installed and active

    2. Minify > Advanced:
    2.1.
    sitemap(_index|[0-9]+)?\.xml(\.gz)?
    sitemap(_index)?\.xml(\.gz)?
    ([a-z0-9_\-]+)?sitemap\.xsl
    [a-z0-9_\-]+-sitemap([0-9]+)?\.xml(\.gz)?
    sitemap_index\.xml
    2.2. Reject user agents: googlebot

    3. Page Cache > Advanced > Never cache the following pages:
    wp-.*\.php
    index\.php
    sitemap(_index|[0-9]+)?\.xml(\.gz)?
    sitemap(_index)?\.xml(\.gz)?
    ([a-z0-9_\-]+)?sitemap\.xsl
    [a-z0-9_\-]+-sitemap([0-9]+)?\.xml(\.gz)?
    sitemap_index\.xml

    4. Browser Cache > 404 error exception list:
    robots\.txt
    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?
    sitemap(_index)?\.xml(\.gz)?
    [a-z0-9_\-]+-sitemap([0-9]+)?\.xml(\.gz)?
    sitemap(_index|[0-9]+)?\.xml(\.gz)?
    sitemap(_index)?\.xml(\.gz)?
    ([a-z0-9_\-]+)?sitemap\.xsl
    [a-z0-9_\-]+-sitemap([0-9]+)?\.xml(\.gz)?
    sitemap_index\.xml

    5. User Agent Groups > [I’ve created a new group name named googlebot:
    Enabled [checked]
    User agents: googlebot

    6. Cleard the cache many times, waited many days, no results, Google keeps saying my sitemap is empty.

    Do you have any other suggestion, cuz I don’t know what to do anymore.

    https://ww.wp.xz.cn/plugins/w3-total-cache/

The topic ‘XML Sitemap not recognized by Google’ is closed to new replies.