Sitemap in Rank Math not working – white page issue (synergiezprirody.cz)

#1075363
  • Resolved Blanka Soldátová
    Rank Math free

    Hello,

    I’m reaching out regarding an issue with the sitemap on the client’s website synergiezprirody.cz.

    The sitemap is enabled in Rank Math settings, but when accessing /sitemap_index.xml, only a blank white page is displayed. The browser console reports the following error:

    Entity ‘nbsp’ not defined

    Here is a summary of what we have already tried:
    – Checked and regenerated permalinks
    – Disabled all plugins except Rank Math
    – Cleared all cache (plugin + server-side)
    – Manually edited sitemap-xsl.php to remove all instances of   and replaced them with spaces or  
    – Tried completely removing and reinstalling Rank Math
    – Verified theme and builder (Divi) is not interfering
    – Checked for functions or filters that might block native sitemaps
    – Checked robots.txt and server rewrite rules

    Even after all that, the sitemap still does not display correctly and is not functional for Search Console submission.

    We would appreciate your help in resolving this issue or pointing us to a known fix or workaround.

    Thank you very much for your support.

    Best regards,
    Blanka Soldatova

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

    We apologize for the issue you are facing with the sitemap on your client’s website, synergiezprirody.cz. It sounds like you’ve already taken several thorough steps to troubleshoot the problem, which is great.

    The error message regarding Entity 'nbsp' not defined suggests that there might be an issue with the XML output of the sitemap. Here are a few additional steps you can try:

    1. Check for Blank Lines in the Sitemap: Sometimes, blank lines or spaces in the source code can cause issues. You can refer to our guide on removing blank lines from sitemaps for more details.

    2. Use the Health Check Plugin: If you haven’t already, consider using the Health Check plugin to identify any potential conflicts with your theme or other plugins.

    3. Review Server Configuration: Since you mentioned checking server rewrite rules, ensure that your server is correctly configured to handle the sitemap requests. For Apache servers, you might need to add specific rewrite rules to your .htaccess file, as outlined in our documentation.

    4. Check PHP Error Logs: Look at your server’s PHP error logs for any additional clues that might indicate what is going wrong when generating the sitemap.

    If these steps do not resolve the issue, we recommend replying to this ticket with the specific URL of the sitemap so that a human agent from our support team can take a closer look and assist you further.

    Thank you for raising this concern, and we hope to help you get this resolved soon!

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Remove Blank Lines From Sitemaps » Rank Math

    Hello,

    Thank you for reaching out to us.

    We checked the sitemap, and it is loading correctly. We went ahead and tested it, and no issues were detected.
    https://i.rankmath.com/i/P7ZKog

    If the issue persists, 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 then try disabling the transient cache for the sitemap. This will make sure that your XML sitemap always reflects the latest changes on your site. Kindly add this code snippet to your site:

    
    /** 
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If you’re not sure how to add this code, you can follow this guide: https://rankmath.com/kb/wordpress-hooks-actions-filters/.

    After you add the code, please clear any cache on your site or server and check your XML sitemap again. If you’re still facing issues with the sitemap, please let us know – we are happy to investigate further.

    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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Sitemap in Rank Math not working – white page issue (synergiezprirody.cz)’ is closed to new replies.