My Sitemap showing Blank why?

#986505
  • Resolved skyshade digital
    Rank Math free

    Hi Team!
    Here my issue is not showing, it was showing empty only! why?
    below I have attached the screenshot of the sitemap!
    can you connect & Resolve the Issue?

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

    We apologize for the issue you are facing with your sitemap showing as blank. This can happen for a few reasons:

    1. Plugin or Theme Conflict: If the source code of the sitemap page is empty, there may be a conflict with another plugin or theme. You can use the Health Check plugin to identify which plugin or theme is causing the issue.

    2. Caching Issues: If your sitemap is cached improperly, it may show as empty. We recommend flushing the sitemaps cache and ensuring that your sitemap is excluded from caching. You can find more information on how to do this in our guide on excluding sitemaps from caching.

    3. Static File Conflict: Sometimes, a static file with the same name as your sitemap file (like _sitemapindex.xml) can cause issues. You should check your server via FTP and remove any such files if they exist.

    If you could provide the URL of your site, we can assist you further in diagnosing the issue. Please reply to this ticket with that information, and a human agent will take over and help resolve your issue.

    Thank you for raising this concern!

    Yes! I haved removed all the cache and updated plugins!
    actually the problem is
    (https://www.skyshade.in/sitemap_index.xml) if i use this url sitemap is empty.
    (https://skyshade.in/sitemap_index.xml) If I use this url sitemap is opening

    But actually sitemap is with www version only
    why it is not happening now!

    Hi Team!
    I didn’t receive any reply from you, I am facing an issue with the sitemap!
    Can anyone connect and resolve it very soon?
    Thank you.

    Hi Team!
    The Issue of the Sitemap we are getting after migration of Bluehost to Hostinger!
    Nobody has been connected yet, please connect and solve the issue ASAP.

    Hello,

    Apologies for the delay as we prioritize older tickets, and whenever you post a reply, your ticket gets bumped to the top.

    However, your sitemap is returning a 404 error.

    In this case, please follow these steps to flush your sitemap cache:

    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/

    3. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on 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/

    Looking forward to helping you.

    Hi Reinelle! Thanks for the Reply!
    I have done what you said exactly!
    The issue is when I was opening Non-WWW Version(https://skyshade.in/sitemap_index.xml) it was opened.
    But in WWW version (https://www.skyshade.in/sitemap_index.xml) it was not opening.
    My sitemap contains with www version only.
    could you please check and let me know further?

    Hello,

    This sitemap error indicates that there must be some white space before the XML Sitemap’s source code. You can also look at the source code of Sitemap and see if there is any extra line or space before the XML. This is caused by a blank line or space in your wp-config.php or functions.php file.

    If you’re not able to find any white space then you can try to follow this guideline to fix the issue: https://wejn.org/stuff/wejnswpwhitespacefix.php.html

    Once done, please try to clear the Sitemap cache by following this video screencast and see if that works for you: https://i.rankmath.com/pipRDp

    However, if you are unable to do this or if the fix does not work, please include your FTP details in the sensitive data section so we can fix this for you.

    We look forward to helping you.

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

The ticket ‘My Sitemap showing Blank why?’ is closed to new replies.