• Resolved mupic

    (@waldub)


    There are many linguals used on our site, but not all of them are used.
    In this case, the site map breaks on the Russian localization because it has only one post type and no taxonomies.
    Problematic piece of code
    xml-sitemap-generator-for-google/includes/vendor/SitemapGenerator.php
    I think the condition is incorrect here, it should be “> 0”:
    if ( count( $this->sitemaps ) > 1 ) {

    https://disk.yandex.ru/i/vfnm0zKR7wQPkg

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP Grim

    (@wpgrim)

    Hello @waldub

    This condition was for Sitemap Index with Multiple Sitemaps. So we will check your case also and needed changes will be implemented with coming update. Thank you for your help in improving our plugin.

    Best regards

    Plugin Author WP Grim

    (@wpgrim)

    Hello @waldub

    We’ve fixed this issue with a bit different way and released a version 2.0.1. Please update your plugin and let us know if everything is okay.

    Thank you for your help in improving our plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.