How can I insert more than 1 sitemap on Crawler?




Wordpress LScache Plugin: How can I insert more than 1 sitemap on Crawler?

Last Updated on: Wed, 15 Apr 2026 00:00:02
I have some Types posts that I would like to include to Crawler, I dont want to render the whole site, just the pages + 2 CPT. Its possible? Use Rank Math you can create a parent sitemap xml then in this parent xml , includes your normal sitemap and also this second sitemap. Sorry, but I have no idea, with Rank Math itself, can you do this? Thanks! @ofmarconi are you able to generate a .xml by hand? If yes, it is quite simple to add your 2 CPT (wtf is CPT?) to the crawler. Example for a custom sitemap.xml https://www.domain.com/whateverurl_1/ 2022-07-21T09:55:58+02:00 https://www.domain.com/whateverurl_2 2022-07-21T09:55:58+02:00 You only have to replace domain.com with your own domain and to modify the date. LOL! Got it, sorry, my fault, youre right. (2 Custom Post Types) If I understand correctly, then I can continue using the Rank Math XML, Ill just add the sitemaps I want Crawler to execute inside my XML. thx so much Manually it will not update automatically as Lastmod will always need to be modified manually as well. example: https://cepeda.law/nossos-profissionais-sitemap.xml 2022-06-09T11:04:08-03:00 https://cepeda.law/areas-de-atuacao-sitemap.xml 2022-07-20T14:19:16-03:00 https://cepeda.law/category-sitemap.xml 2022-06-20T18:25:41-03:00 If I understand correctly, then I can continue using the Rank Math XML, Ill just add the sitemaps I want Crawler to execute inside my XML. Not at all, but almost. You can continue using Rank Math without changing anything. If you modify the sitemap generated by Rank Math it will be overwritten by Rank Math next time if something is updated, so leave it as it is. What you have to do is to generate a custom sitemap file with your 2 CPT like shown above. The next is to generate a index sitemap that contains the URLS to Rank Math XML and your custom XML file like this. https://www.domain.com/your_default_sitemap_generated_by_RankMath.xml 2022-04-30T08:15:26+00:00 https://www.domain.com/your_custom.xml 2022-04-30T08:15:26+00:00 Name this sitemap sitemap_index.xml and add this sitemap to the crawler. Thats it. thx so much!Does it work? Yes! Okay, you are always welcome!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference