• bobmorris60

    (@bobmorris60)


    WordPress version: 3.4.2
    WordPress SEO version: 1.2.8.7

    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.

    https://www.ads-software.com/extend/plugins/wordpress-seo/

Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter bobmorris60

    (@bobmorris60)

    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 0.9.2.2 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:

    sitemap(_index|[0-9]+)?\.xml(\.gz)?

    OR this line:

    sitemap\.xml(\.gz)?

    and change it to:

    (sitemapindex|[a-z0-9_-]+)\.xml

    Once I did this, the sitemap generated!

    https://betterwp.net/wordpress-plugins/google-xml-sitemaps/faq/

    Yoast stores the sitemap(s) in the database. You should be able to see what’s in your sitemap by entering https://your-domain.com/sitemap_index.xml. 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]
    </IfModule>
    # 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:
    sitemap(_index)?\.xml(\.gz)?
    to
    (main.)?sitemap(_index)?\.x[ms]l(\.gz)?

    This will match any of:
    sitemap_index.xml
    main-sitemap.xsl
    sitemap.xml
    sitemap.xml.gz

    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 moneyoffmum.com 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:

    sitemap(_index)?\.xml(\.gz)?

    to

    (main.)?sitemap(_index)?\.x[ms]l(\.gz)?

    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.