Support » Plugin: XML Sitemap & Google News » Pages and Posts Sitemaps empty

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author RavanH

    (@ravanh)

    No, the default settings should work fine. I notice you use Polylang and Jetpack but that should also be no problem…

    What is that Real Estate plugin? Does it do soemthing with custom post types? Any other plugins that might interfere? Did you test by disabling all other plugins?

    Or maybe the theme. It’s hard to tell.

    You could test the development version which you can download from http://wordpress.org/plugins/xml-sitemap-feed/developers/ under Other Versions.

    Plugin Author RavanH

    (@ravanh)

    What I also notice is that the post sitemap accessed via the non-pretty url http://www.miorireal.com/?feed=sitemap-posttype-post does show posts.

    Please make sure there are NO static XML files named sitemap-posttype-post.xml or sitemap-posttype-page.xml in the site root. Note that also the static robots.txt can be replaced by the plugin.

    Can you see any related errors in the server/hosting log files?

    Looking at the differences in response headers for the two variants (pretty versus non-pretty url) I see the empty sitemaps have:

    X-Cacheable:	YES
    Date:	Sun, 20 Apr 2014 21:56:40 GMT
    Age:	1482
    X-Cache:	cached
    X-Backend:	wpaas_web_018

    while the non-pretty ones send these headers:

    X-Cacheable:	NO:Not Cacheable
    Date:	Sun, 20 Apr 2014 21:55:40 GMT
    Age:	0
    X-Cache:	uncached
    X-Backend:	wpaas_web_018

    which suggests there is some server cache active. Can you empty it? Or better yet: exclude sitemap(.*)?.xml requests from being cached?

    Thank you. I flushed the cache and requested godaddy to exclude from the cahe the sitemap, now I have this error:
    Fatal error: PLL_Model::_languages_list(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "PLL_Language" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/content/p3nexnas03/30/2083530/html/wp-content/plugins/polylang/include/model.php on line 197

    it looks related to polylang. I will check their plugin support.
    Thanks.

    Plugin Author RavanH

    (@ravanh)

    It does seem related to Polylang. Are you using the latest versions for both XML Sitemap and Polylang plugins?

    I notice the non-pretty http://www.miorireal.com/?feed=sitemap-posttype-post now shows the same error where it did not before… Did you change, install or upgrade anything else on your site? It seems weird that excluding a particular URL from the server cache would trigger this error.

    Does the error remain if you upgrade to the current development version of XML Sitemap Feeds? You can download from http://wordpress.org/plugins/xml-sitemap-feed/developers/ under Other Versions.

    Plugin Author RavanH

    (@ravanh)

    I just got a message about Polylang 1.5 beta fixing some bugs that where introduced with the 1.4 version. It might just include your issue… Read more and download from http://polylang.wordpress.com/2014/04/21/polylang-1-5-beta/

    It worked! I installed the beta you indicated and now the sitemaps are generating.
    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pages and Posts Sitemaps empty’ is closed to new replies.