Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Were you using custom sitemap ? or LSCWP’s built-in sitemap generator ?

    Best regards,

    Thread Starter wordplus

    (@wordplus)

    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.

    • This reply was modified 5 years, 7 months ago by wordplus.
    Plugin Support qtwrk

    (@qtwrk)

    What do you mean “not parsing nested sitemap” ?

    Thread Starter wordplus

    (@wordplus)

    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.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I am not sure if I get you correctly.

    the sitemap plugin I’ve 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,

    Thread Starter wordplus

    (@wordplus)

    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.

    Plugin Support qtwrk

    (@qtwrk)

    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

    Thread Starter wordplus

    (@wordplus)

    hi there!

    All of the urls missing.
    https://www.ecorennais.fr/sitemaps.xml

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    hmmm , what do you mean all URL missing ?

    I am seeing hundreds URLs in that sitemap

    Thread Starter wordplus

    (@wordplus)

    Yes, but LSCache plugin crawler dont see them.

    Plugin Support qtwrk

    (@qtwrk)

    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,

    Thread Starter wordplus

    (@wordplus)

    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

    Plugin Support qtwrk

    (@qtwrk)

    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 ?

    Thread Starter wordplus

    (@wordplus)

    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!

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Crawler Sitemap not generating custom post types’ is closed to new replies.