sitemap is blank

#329526
Viewing 6 replies - 1 through 6 (of 6 total)
  • I dont know where the URL parameters came from. I meant:

    https://beautycrushskin.com.au/sitemap_index.xml

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    It seems that you are using the LiteSpeed plugin and there’s currently a bug in that plugin that prevents our sitemaps from loading.

    We would recommend adding the following code to your functions.php file to prevent this situation:

    if (strpos($_SERVER['REQUEST_URI'], "sitemap") !== FALSE) {
        define( 'LITESPEED_DISABLE_ALL', true );
    }

    ​​​​​​​Hope this helps solve your issues.

    Don’t hesitate to get in touch if you have any other questions.

    Thank you.

    Thanks for that.
    In future, how would one keep abreast of such bugs and find a fix without needing to come through support?
    I am trying to be more self sufficient.

    Hello,

    Unfortunately, the issue here is with Litespeed’s side, they are already aware of the issue and they are already working on a fix for future updates.

    https://wordpress.org/support/topic/conflict-with-rankmath-sitemap/

    We can’t do anything from our side as their plugin is injecting scripts in our sitemaps.

    You may keep an eye on their changelog and for now, you would need to apply the filter my colleague provided as a temporary fix.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you. The code worked.

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘sitemap is blank’ is closed to new replies.