WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
No sitemap is created after activating XML Sitemaps (31 posts)

  1. bobmorris60
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. jellied
    Member
    Posted 1 year ago #

    Same here - hovering over the button says it will link to http://www.sitename.co.uk/sitemap_index.xml but there is no file there.

  3. Roger Sparks
    Member
    Posted 1 year ago #

    Exact same problem with same symptoms. Tried everything.

    WordPress 3.4.2.
    Wordprss SEO 1.2.8.7

  4. ddarby14
    Member
    Posted 1 year ago #

    WordPress version: 3.4.2
    WordPress SEO version: 1.2.8.7
    WordPress Network: enabled
    No other SEO/XML plugin installed.

    I visited the SEO: XML Sitemaps page, the box was already checked so I clicked save. Nothing. No xml page was created.

    So I unchecked the box, clicked save, then re-checked the box and clicked saved and it the XML page is active now.

  5. stathis_k91
    Member
    Posted 1 year ago #

    Hi,
    before you create the sitemap you must click on the save button at the bottom,

    Stathis

  6. Roger Sparks
    Member
    Posted 1 year ago #

    Hi,

    I guess I wasn't clear. I did exactly as you said and exactly the steps required. Multipole times.

    1. I visited the SEO XML Page.
    2. I unchecked the Check this Box to Enable.
    3. I selected the Save Settings button.
    4. The XML Sitemap Options dissapeared.
    5. I checked the Check This Box to Enable.
    6. The XML Sitemap Options reappeared,
    7. I selected the Save Settings button. (No Error)
    8. The You Can Find Your XML Sitemap Here with the XML Sitemap button appeared.
    9. I selected the XML Sitemap button. I got an error that the file sitemap_index.xml was not there.
    10. I examined the root directory with FTP. The file sitemap_index.xml was not there

    There is no file being created, and I got no error. I followed the instructions exactly - multiple times.

  7. primaveranz
    Member
    Posted 1 year ago #

    I am in exactly the same position as Roger and have tried the same things, but no Sitemap.

  8. Roger Sparks
    Member
    Posted 1 year ago #

    Hi,

    I have been unable to get the XML sitemap - sitemap_index.xml - to generate. I have disabled the function, and installed the Google XML Sitemaps plugin instead. It installed and generated a sitemap without a problem in a few seconds.

    I would, however, prefer to use the sitemap in the Yoast SEO plugin, because I love everything else about the Yoast SEO plugin. Hopefully, whatever the problem is, it will get resolved and I can try it at a later time.

    Thanks for the help attempts from everyone.

  9. bobmorris60
    Member
    Posted 1 year ago #

    Roger: Thank you!

    Google XML Sitemaps worked after I unclicked save as gz. It errored out twice before doing that. Weird, eh?

  10. primaveranz
    Member
    Posted 1 year ago #

    Thanks Roger, I have just done the same and it is looking good. ;)

  11. whitstable58
    Member
    Posted 1 year ago #

    Just started using Yoast SEO after I saw a mention about a connection with Genesis which I use, and Genesis say their SEO is disabled if most other SEO plugins are installed.
    Well,the XML Site map was produced but was shocked to find in Google's Webmaster Tools that only one page was indexed and the Sitemap produced contains urls which are blocked by robots.txt x 333. Obviously this is not a good start for a newly launched site. Any suggestions?

  12. Zoee
    Member
    Posted 1 year ago #

    I've got the exact same problem as Roger & other, no XML sitemap has been created. I've tried switching this setting off and on again just as Roger did but nothing!

  13. Ken Soszka
    Member
    Posted 1 year ago #

    Did you guys click the XML Sitemap button next to where it says "You can find your XML Sitemap here", or are you just looking for the file in your FTP? The domain/sitemap_index.xml file itself does not seem to actually be in the root of the site as implied by the URL. When I click that button, I see my sitemaps, and that URL appears in my browser - but I don't see the xml file in my http://FTP..

    Otherwise, it sounds like maybe this plugin needs certain folders to be writable, and perhaps they are not depending on your individual sites. I have no idea which folders those would be though.

  14. primaveranz
    Member
    Posted 1 year ago #

    Hi Ken,

    Yes I clicked on the "You can find..." button. Got a "Page not found" error.

    You could be right about the permissions, however I had the same problem with a localhost site running under XAMPP and an unrelated live site. I suspect there is more documentation needed by the developer. Sad that he hasn't replied yet.

  15. Roger Sparks
    Member
    Posted 1 year ago #

    The net-net on this for me is this:

    1. I did everything than was required, multiple times, and it didn't work.
    2. The sitemap_index.xml is supposed to be in the root directory - the link, created by the Yoast plug-in - that displays the file is looking for it in the root directory, so obvivously it thinks it was created there. It was not.
    3. There are no permissions problems - the other sitemap plug-in I ended up using - Google XML Sitemaps - had no problem creating their sitemap.xml file in the root directory. I also successfully linked to it from google and bing without a problem.
    4. I am doubtful that there is any conflict with another plug-in, since this is a very straightforward wordpress site. We only used two other simple plug-ins - Contact Form 7 and NextGEN Gallery - and neither should conflict in any way.

    So, it looks like the Yoast SEO plug-in has a problem. As I said, I am still using it - it is the best SEO plug-in - and wish I didn't have to use another plug-in for the sitemap, but it is just not working for me, and it sounds like for others.

    I would love to hear from Yoast with a fix for whatever the problem is.

  16. loudcow
    Member
    Posted 1 year ago #

    Two Similar problems...
    #1. It appears to generate an xml file but the page - domain/sitemap_index.xml - is completely blank. If I view the page's source code I see this...

    <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://example.com.au/wp-content/plugins/wordpress-seo/css/xml-sitemap-xsl.php"?>
    <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <sitemap>
    <loc>http://example.com.au/post-sitemap.xml</loc>
    <lastmod>2012-10-24T00:40:16+00:00</lastmod>
    </sitemap>
    <sitemap>
    <loc>http://example.com.au/page-sitemap.xml</loc>
    <lastmod>2012-11-15T19:37:01+00:00</lastmod>
    </sitemap>
    <sitemap>
    <loc>http://example.com.au/category-sitemap.xml</loc>
    <lastmod>2012-10-24T00:40:16+00:00</lastmod>
    </sitemap>
    </sitemapindex>
    <!-- XML Sitemap generated by Yoast WordPress SEO -->

    #2. Just checked another site and when I click on 'view sitemap' i get a 404 error. So the original plugin generated sitemaps I have submitted to google in google webmaster tools are throwing a 'not found' error obviously.

    All were fine initially when installed - sitemaps generated without a problem - but there's been a few plugin upgrades since - I've simply just upgraded via backend and never thought to check the sitemap functionality.

  17. bobmorris60
    Member
    Posted 1 year ago #

    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!

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

  18. ronr1999
    Member
    Posted 1 year ago #

    Yoast stores the sitemap(s) in the database. You should be able to see what's in your sitemap by entering http://your-domain.com/sitemap_index.xml. This URL gets submitted to Google/Bing/Yahoo...

  19. willat600series
    Member
    Posted 11 months ago #

    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.)

  20. Rajesh Namase
    Member
    Posted 11 months ago #

    @bobmorris60 Thanks, problem solved :)

  21. pothound
    Member
    Posted 10 months ago #

    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?

  22. eldenroot
    Member
    Posted 10 months ago #

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

    please help me

  23. pothound
    Member
    Posted 10 months ago #

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

  24. pif
    Member
    Posted 10 months ago #

    Same here, sitemap is not generating.

  25. Gilligan
    Member
    Posted 10 months ago #

    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

  26. Kurt Flint
    Member
    Posted 10 months ago #

    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)

  27. Gilligan
    Member
    Posted 10 months ago #

    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.

  28. danielladelaney11
    Member
    Posted 10 months ago #

    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.

  29. GregorATG
    Member
    Posted 10 months ago #

    Same problem as above. No sitemaps being generated anymore.

  30. eldenroot
    Member
    Posted 10 months ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags