Wordpress LScache Plugin: Crawler Sitemap not generating custom post types
Last Updated on: Wed, 15 Apr 2026 00:00:02 Crawler Sitemap not generating custom post types posts and categories URL. Hi, Were you using custom sitemap ? or LSCWPs built-in sitemap generator ? Best regards, I trying to preload cache for WooCommerce products/categories usign LSCWP built in sitemap generator. It not works. I also tried to connect custom index sitemap to it, but it not parsing nested sitemaps.. so the only way now is to create custom xml feed with links I need. What do you mean not parsing nested sitemap ? almost every sitemap generator generate sitemap-index file, which doesnt contain links to final URLs itself, but contains other nested sitemaps, which contain final URLs to pages, posts, authors, etc? https://en.ryte.com/wiki/Sitemap_Index_Files Unfortunately plugin dont work with this type of sitemaps. Hi, I am not sure if I get you correctly. the sitemap plugin Ive used before , like Yoast, Rankmath , Google sitemap generator they do generate a main sitemap , link to some sub-sitemap , and sub-sitemap links to final URL you mean , one sitemap that gets all links in single page , but not sub-sitemap ? Best regards, yes, Im talking about main sitemaps. If I trying to use main sitemap as Custom Sitemap for crawler, its not finding final URLs to crawl. Hi, if the URL is in there , it should get that URL. may I know the sitemap URL and which final URLs missing ? or all of them ? Best regards hi there! All of the urls missing. https://www.ecorennais.fr/sitemaps.xml Thanks. hmmm , what do you mean all URL missing ? I am seeing hundreds URLs in that sitemap Yes, but LSCache plugin crawler dont see them. Hi, could you please try add this code into your theme functions.php then try again ? if (strpos($_SERVER[REQUEST_URI],xml) !== false && defined( LSCWP_V ) ) do_action( litespeed_disable_all, disable on XML ) Best regards, Just added this to functions.php, then added https://www.ecorennais.fr/sitemaps.xml sitemap as Custom Sitemap in crawler settings. Then cleaned cache and press Refresh Crawler Map . Its not worked, the result is Sitemap Total: 0 I am getting error like this when try to use the your sitemap on my test site. [STDERR] PHP Warning: simplexml_load_string(): Entity: line 9: parser error : Extra content at the end of the document in /mysite/wp-content/plugins/litespeed-cache/src/crawler-map.cls.php on line 463 it looks like something injected something into the XMl file to make it bad-format ? So I was reviewed it today and there was empty character at the end of one sitemap files. I just used another sitemap plugin and it worked smoothly this time. Thanks alot for helping me with it!
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference