- Issue created by @weekbeforenext
- π©πͺGermany gbyte Berlin
You should already be able to do that:
Clean way:
Implement a new Extermal sitemap URL generator plugin collecting links to those sitemaps and add it to your Sitemap Index sitemap type under /config/search/simplesitemap/types/index.Less clean way:
Add the Arbitrary URL generator to your Sitemap Index sitemap type and implement the hookhook_simple_sitemap_arbitrary_links_alter()
.Check out the documentation and let me know if that helps or if you need other pointers.
- Merge request !62Issue #3347996: Allow to add external sitemaps to Sitemap Index(s) β (Closed) created by weekbeforenext
- πΊπΈUnited States weekbeforenext Asheville, NC
I couldn't figure out why the index sitemap wasn't showing up when I put a breakpoint in a
hook_simple_sitemap_arbitrary_links_alter()
implementation. It was as simple as updating the "Sitemap Index" type to include "Arbitrary URL generator".Thanks so much for your quick response. I had fun adding this functionality and learning more about how this module works. I'll take that as a win. :)
- Status changed to Fixed
over 1 year ago 9:59pm 14 March 2023 - π©πͺGermany gbyte Berlin
I couldn't figure out why the index sitemap wasn't showing up when I put a breakpoint in a hook_simple_sitemap_arbitrary_links_alter() implementation. It was as simple as updating the "Sitemap Index" type to include "Arbitrary URL generator".
I don't blame you - this module has become very flexible and even though I've been trying, not everything in the UI is intuitive. E.g. in order for the sitemap index to index all other sitemaps, it should be generated last - this can be achieved by dragging it underneath all other stiemaps in the UI.
Maybe we need more comprehensive documentation for cases like yours.
Thanks so much for your quick response. I had fun adding this functionality and learning more about how this module works. I'll take that as a win. :)
Happy to hear that!
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 7:19pm 8 June 2023