• Resolved zamros

    (@zamros)


    Hi,

    Currently I’m having issues where the sitemap_index.xml shows a blank page. I found out that when I disable the LiteSpeed plugin (troubleshooting using Health Check plugin), it’s just working fine. I’ve excluded it based on other thread as well in the Cache tab, as well as trying to put this line of code inside wp_config.php:

    if (strpos($_SERVER[‘REQUEST_URI’], “sitemap”) !== FALSE) {
    define( ‘LITESPEED_DISABLE_ALL’, true );
    }

    But still, it doesn’t resolve these issues. I would appreciate it if you guys could provide any solution to this matter.

    Regards

Viewing 1 replies (of 1 total)
  • Thread Starter zamros

    (@zamros)

    Ignore this; I’ve solved the problem.
    It appears that the code I copied had a punctuation mark problem, therefore I used another one like this:

    if (strpos($_SERVER[‘REQUEST_URI’], “sitemap”) !== FALSE) {
    define( ‘LITESPEED_DISABLE_ALL’, true );
    }

    So it works! Thanks guys.

    Regards

    • This reply was modified 4 years, 6 months ago by zamros.
Viewing 1 replies (of 1 total)

The topic ‘White Blank Sitemap’ is closed to new replies.