Support » Plugin: Yoast SEO » No sitemap is created after activating XML Sitemaps

  • WordPress version: 3.4.2
    WordPress SEO version:

    I did this: Activated XML Sitemaps

    I expected the plugin to do this: Produce sitemap

    Instead it did this: There is no sitemap. The sitemap us not found and does not exist. This happens with every sitemap plugin I try. There is no error message but no sitemap is created. Am running W3TC.

    Any help appreciated.

Viewing 15 replies - 16 through 30 (of 30 total)
  • I just got BWP Google XML Sitemaps working after emailing the developer who said to make the following change in Performance/ Browser Cache

    In W3 Total Cache or possibly older, go to Performance → Browser Cache, and then go to ’404 error exception list’ in the ‘General’ option block, and find this line:


    OR this line:


    and change it to:


    Once I did this, the sitemap generated!

    Better WordPress Google XML Sitemaps

    Yoast stores the sitemap(s) in the database. You should be able to see what’s in your sitemap by entering This URL gets submitted to Google/Bing/Yahoo…

    Just wanted to chime in, as I faced the same initial problem reported by Roger Sparks. There IS a conflict between Contact Form 7 (v3.5.2) and the Google XML Sitemaps plugin. The placeholder page generated by CF7 creates a malformed sitemap entry. Disabling the contact form made the sitemap work as expected.

    However, I switched to the Yoast WordPress SEO plugin (v1.4.15) for the sitemap and it works with no conflict with CF7. (I had to go to the sitemap options tab and click “save settings” to get it to work.)

    @bobmorris60 Thanks, problem solved 🙂

    Same here sitemap is not generated it throws a 404 error.
    According to Yoast added this to the htaccess file:
    # WordPress SEO – XML Sitemap Rewrite Fix
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^sitemap_index\.xml$ /index.php?sitemap=1 [L]
    RewriteRule ^([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
    # END WordPress SEO – XML Sitemap Rewrite Fix

    Now I am getting an other error
    Error loading stylesheet: A network error occurred loading an XSLT stylesheet:

    I am not running WP Cache so can not be that plugin.

    Any idea what else I could try?

    Same problem – it was working good but after some time it will be broken and no sitemap…

    please help me

    Using an other plugin now to create the sitemap until this is fixed for sure.

    Same here, sitemap is not generating.

    If using Yoast’s WordPress SEO W3 Total Cache:
    Performance > Browser Cache [General]
    404 error exception list:
    change regex match:

    This will match any of:

    You have all figured out that the sitemap is dynamic by now, right? Not just something that will be generated and then sit around aging in your root directory? Just request it from your browser and you will see it.

    I have seen problems with it timing out under load, but Google Webmaster Tools (which everyone should be signed up for) no longer complains since I have identified the FQDN of sitemap_index.html in my robots.txt. I have also gone ahead and put in the FQDN of the other major sitemaps, Posts, Categories, etc. that are generated on the fly. The index does little but identify the URL of those anyway.

    Good luck! (I won’t be watching this thread, this was a “drive by helping” for today)

    Kurt, yes we realize that… the issue here is with W3TC’s standard 404 file exclusion regex for sitemaps. Changing regex to accommodate the xsl as well as the xml does the trick.

    HI.I have a problem in that my Yoast SEO sitemap at was updating fine until 16/9/13. Now it has stopped updating. Anyone have any ideas on this? I have just switched hosts.

    Same problem as above. No sitemaps being generated anymore.

    Same problem after last update… I tried disable and enable XML sitemap i plugin but it does not work… sitemap is empty…

    I have this problem after every problem… any fix? I dont use W3 total cache (only hyper cache) but it was working good

    @ Gilligan, just changed the regex:




    solved the blank page issue

    The file sitemap_index.xml was generated immediately. Thank you.

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘No sitemap is created after activating XML Sitemaps’ is closed to new replies.