Recent updates to SitemapGeneratorBase.php from this issue - https://www.drupal.org/project/simple_sitemap/issues/3051700 seems to be causing invalid pagination links to be generated if the site is multi-lingual with path prefixes.

For example, if the sitemap URL is /sitemap.xml, and the default language of the site is /en, then the paginated links are generated as /en/sitemap.xml?page=1 (which doesn't work) instead of /sitemap.xml?page=1.

Comments

peteamd created an issue. See original summary.

gbyte’s picture

I can reproduce this only with the redirect module turned on. Will take a look.

  • gbyte.co committed fa3a2f9 on 8.x-3.x
    Issue #3056975 by peteamd, gbyte.co: Index page links broken when path...
gbyte’s picture

Status: Active » Fixed

Thanks.

peteamd’s picture

Thanks! Yes I had the redirect module enabled.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.