You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've enabled the 'split post based sitemaps' feature on a large site (6000+ posts). I'm finding that the last sitemap generated is always empty, in this case when using a 1000 split limit post_part6.xml is empty. This results in google webmaster tools not being able to validate the sitemapindex. I've tried changing the split limits but the same issue occurs. No errors appear in the sitemap logs but the following appears when trying to view the last sitemap:
BWP Google XML Sitemaps Error: post_part3.xml does not have any item. There are no public Post. Enable/disable sitemaps via BWP Sitemaps >> XML Sitemaps.
Thanks
The text was updated successfully, but these errors were encountered:
Update
The problem appears to occur when you combine excluding categories with the split sitemap functionality. The original query appears to ignore the excluded categories and get the total number of posts instead. Total posts is divided by the split amount and individual xml files are created for each 'part'. The next query does take the excludes into account so as they're added into the files you're left with empty parts. Essentially too many empty files are created because the original query isn't taking into account and exclude terms.
Could the original query take the excludes into account?
Hi,
I've enabled the 'split post based sitemaps' feature on a large site (6000+ posts). I'm finding that the last sitemap generated is always empty, in this case when using a 1000 split limit post_part6.xml is empty. This results in google webmaster tools not being able to validate the sitemapindex. I've tried changing the split limits but the same issue occurs. No errors appear in the sitemap logs but the following appears when trying to view the last sitemap:
BWP Google XML Sitemaps Error: post_part3.xml does not have any item. There are no public Post. Enable/disable sitemaps via BWP Sitemaps >> XML Sitemaps.
Thanks
The text was updated successfully, but these errors were encountered: