Just for the sake of documenting it, the current xml sitemap has trouble with Tome when generating multiple sitemaps.
The sitemap woudl look like this:
Sitemap file
Number of sitemaps in this index: 2
Sitemap URL Last modification date
https://www.viajarencruceros.com/sitemap.xml?page=1 2022-02-02T09:12Z
https://www.viajarencruceros.com/sitemap.xml?page=2 2022-02-02T09:12Z
Generated by the Drupal XML sitemap module.
However, when trying to open https://www.viajarencruceros.com/sitemap.xml?page=1, that would return the same sitemap.xml, doing nothing with the parameters. With views parameters generate new pages, but for some reason this does not happen here.
My solution was to switch to simple sitemap, which is more configurable and allows to generate a bigger number of links (I needed more than 5000)
Comments
Comment #2
alexmoreno commentedComment #3
samuel.mortenson@alexmoreno Nice report - I also use Simple Sitemap, but didn't know about pagers here.
The current pager code isn't Views specific, but it is HTML specific (see: tome/modules/tome_static/src/EventSubscriber/PagerPathSubscriber.php), so it wouldn't run with XML responses. We'd probably want to tweak that file to generically support XML, and if it gets too specific to https://www.drupal.org/project/xmlsitemap I'd want a separate event subscriber just for that module.