White Blank Sitemap

#318595
  • Resolved Zam
    Rank Math free

    Hi there, as per mentioned above, I have tried your guys’ flush method along with excluding it from my LiteSpeed cache plugin, but without any success. I have also tried adding this line of code into wp-config.php, but I also don’t see any light of hope yet.

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

    Could you guys help me out on fixing this issue? Thanks!
    Here is the sitemap: https://dailycatguide.com/sitemap_index.xml

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

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

    If the fix provided by LiteSpeed didn’t work then please get in touch with them again as they will be able to help you further with this. However, please try flushing the cache once again using this screencast https://i.rankmath.com/pipRDp as the fix has worked for many other users.

    Let us know how that goes. Looking forward to your update.

    Zam
    Rank Math free

    Hello Jaideep, appreciate the prompt response. Regarding your suggestion, I’ve tried again flushing it but still without any luck. 

    By the way, I tried putting the sitemap url into an xml viewer tool. The weird thing is that it can actually read the content. Here is the screenshot for your reference:

    https://photos.app.goo.gl/PfXArFmiLuSNUShn6

    Is it something to do with the caching plugin or anything else?

    Prabhat
    Rank Math agency

    Hello,

    I checked your sitemaps and the data is already present in the sitemap’s source:
    view-source:https://dailycatguide.com/sitemap_index.xml

    This is the reason why that tool is able to read the sitemap’s contents.

    This is usually caused due to caching and gets fixed by following the screencast shared by my colleague and excluding the sitemaps from the caching plugin.

    However, as it isn’t working for you, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Zam
    Rank Math free

    Hi Prabhat, ah I see. Thanks for the recommendation, I’ve tried installing the Health Check plugin but unfortunately still can’t seem to find the culprit for this issue.

    It looks like I’ll need to have you guys take a look at what the root cause of this is. After this reply, I’ll edit the 1st post and give you access.

    Just to let you know, a moment ago I saw an error log in Rank Math, due to me adding the script from LiteSpeed as mentioned in the 1st post. However, I’ve edited the codes by wrapping them with ‘ ‘ as suggested in wp_config.php ( for example, from ‘REQUEST_URI’ to ‘‘REQUEST_URI’’ ), but still it doesn’t change anything in the sitemap_index.xml.

    Here’s the screenshot from Rank Math error log fyi:
    https://photos.app.goo.gl/mbiC9MWJ3xDcvdRD9

    Prabhat
    Rank Math agency

    Hello,

    I logged into your website’s admin area and upon investigating, I found that your caching plugin “LiteSpeed Cache” is causing the issue and restricting the sitemaps from being loaded.

    The sitemaps are already excluded from being cached but the plugin still seems to be affecting the sitemaps. You can have a look at the screencast in the sensitive data section for a quick reference.

    Please get in touch with the support of LiteSpeed cache as they might already have a solution for the issue and they would be in a better position to assist you.

    Regarding the errors in logs, they point towards an undefined constant in the wp-config.php file. Please remove the code that you added and see if that fixes the issue.

    Hope this helps.

    Thank you.

    Zam
    Rank Math free

    Thanks Prabhat for the troubleshooting and detailed clarification on this; wow, now we know who the real offender is; it seems that I’ll need to approach them to resolve this issue.

    Hello,

    We are glad that we could address your concern.

    Keep us in the loop of how this goes and if you have any further question(s), please let us know.

    Thank you.

    Zam
    Rank Math free

    Hi Jeremy,

    Many thanks and appreciation for your guys’ outstanding service; I’ve now resolved this as I’m checking over the LiteSpeed forum since there were some users experiencing similar concerns. It appears that the prior codes used in wp config.php were incorrect due to punctuation marks errors.

    It was when I noticed a topic in which LiteSpeed supplied the correct one, it’s actually nearly the same one, only instead of using “sitemap” or ‘LITESPEED_DISABLE_ALL’ from the codes, I use this one (replace it with ‘ or “) :

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

    No surprise I received the earlier message from the Rank Math error log instructing me to wrap the code with the proper punctuation marks. However, I did not remove the previous one, which is why the problem persists. It’s now fully operational!

    https://photos.app.goo.gl/wfzvet6otJJwguzm9

    Anyway, once again, thank you. Your assistance is much appreciated! 😀

    Regards,

    Hello,

    We are super happy that your issue has been resolved.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    jasmin
    Rank Math free

    i have same Problem .could anyone please guide me how to solve this problem????

    Hello,

    @jasmin I’ve already replied to your other ticket with this issue. Please continue there so we can assist you accordingly.

    Looking forward to helping you.

    Thank you.

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

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