Yoast SEO
[resolved] [Plugin: WordPress SEO by Yoast] Posts Sitemap Blank (5 posts)

  1. TechieGuy
    Posted 3 years ago #

    Recently, I was informed through Google's Webmaster tools that my posts sitemap file (http://technicallyeasy.net/post-sitemap.xml) is blank. All the other sitemaps contain data (page-sitemap.xml, category-sitemap.xml, post_tag-sitemap.xml) and the main sitemap_index.xml file is working properly.

    I tried to get the posts sitemap file to regenerate, but it remains blank (I tried to download the file to see that it was, in fact, blank).

    Is there a way to find out why the posts sitemap couldn't be created properly?

    WordPress version: 3.4.2
    WordPress SEO version:


  2. TechieGuy
    Posted 3 years ago #

    Has anyone experienced this issue?

  3. TechieGuy
    Posted 3 years ago #

    After doing some debugging I figured out the issue. The sitemap was trying to generate, but failed after about 420 posts. The failure was due to not enough memory being allocated, but the error was hidden and I was only able to see it by modifying the sitemap creation code to display the error.

    I researched the memory limit allowed on my host and realized that my account was set to 64 MB but my host allowed a 256 MB limit. I changed the limit to 128 MB and am now able to generate the posts sitemap again.

  4. Curtis4
    Posted 3 years ago #

    I had the blank sitemap problem too. It was solved when I changed the W3TC custom files to host with the CDN to NOT include the /plugins* files.

    That's a little disappointing since I think hosting plugin files with the CDN makes a lot of sense and lightens server load a touch, but I've run into problems before with that setting and other plugins, so I'm throwing in the towel

    Anyway, now Yoast sitemaps are running fine.

  5. TechieGuy
    Posted 3 years ago #

    I also had issues when W3TC tried to move some files from plugins to my CDN. This caused problems on my blog so I exclude the plugins directory in the CDN options of W3TC.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.