Sitemaps white page with out source code

#390858
Viewing 8 replies - 1 through 8 (of 8 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    Can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    If the issue persists, we might need to take a closer look at the settings. 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/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I have placed a temporary login link as an administrator. Be very careful as it is a site that is in a productive stage with clients.

    I must correct our first appreciation, the sitemap generated by Rank Math and appears on a white screen, when we ask to see the source code if the sitemap data appears.

    I have flushed the Sitemap cache and exclude the Sitemap from cache plugin (WP Rocket) to no avail.

    The plug in “Health Check & Troubleshooting” is installed but deactivated. You can activate it to do your tests. I have carried out the tests leaving only Woocommerce and Rank Math activated without positive results. The sitemap is still not accessible.

    Regards

    Con el plugin Snipped hemos colocado un filtro del Rank Math:
    add_filter( ‘rank_math/sitemap/enable_caching’, ‘__return_false’);
    without results 🙁

    Since we have an NGINX server, we have placed what you recommend in its configuration:
    # START Nginx Rewrites for Rank Math Sitemaps
    rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
    rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
    # END Nginx Rewrites for Rank Math Sitemaps

    without results 🙁

    The sitemap continues to appear blank even though when we request the source of the page if we see the information…

    Regards

    Hello,

    We apologize for the delay in response and thank you so much for sharing the login information for us to further check the issue.

    I noticed that there are scripts being added by your theme provider as you can see in the error from the screenshot I inserted in the Sensitive Data section.

    Kindly check this one with your theme author as they may have a workaround to remove all scripts added to our sitemap which is causing the issue.

    Let us know how that goes. Looking forward to helping you.

    Hello

    Thanks for your answer.

    Can you tell me how you came to see that error code? I am trying to see the whole message since in a screenshot it is not complete in order to get to the cause of the problem.

    On the other hand, when we do the test with the diagnostic plugin that you recommended us and we deactivate the theme, the problem with the site map persists.

    Regards

    Hello,

    I am using Mozilla Firefox to load the sitemap since Firefox is able to display the issue of an XML file.

    The issue persists from your end may be due to caching. I tried enabling the troubleshooting mode and the issue go away after switching to a default theme. Kindly check my video screencast in the Sensitive Data section.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Sitemaps white page with out source code’ is closed to new replies.