Sitemap error

#876683
  • Resolved Fdl
    Rank Math free

    Hello,

    On GSC, I have an error on /page-sitemap.xml

    “Le sitemap peut être lu, mais contient des erreurs
    Le sitemap est un fichier HTML.”

    I have created the sitemap with Rankmath.
    – I have checked, the status is ok (200) and the format is xml (<?xml version=”1.0″ encoding=”UTF-8″?>
    <urlset
    xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9&#8243;)

    Can you help me please ?

    Thanks

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

    We apologize for the issue you are facing with your sitemap. The error message "Le sitemap peut être lu, mais contient des erreurs. Le sitemap est un fichier HTML" indicates that Google is detecting your sitemap as an HTML file instead of an XML file.

    Here are a few steps you can take to troubleshoot this issue:

    1. Check the Sitemap URL: Ensure that you are submitting the correct XML sitemap URL to Google Search Console. The correct URL should be something like `http://www.sitemaps.org/schemas/sitemap/0.9.

    2. Validate Your Sitemap: Use the Validate XML Sitemap tool to confirm that your sitemap is correctly configured. This tool will help identify any issues with your sitemap structure.
      An example displaying how to validate a sitemap

    3. Check for Plugin Conflicts: Sometimes, other plugins can interfere with the sitemap generation. You can use the Health Check plugin to check for any conflicts.

    4. Clear Cache: If you are using a caching plugin, clear your website cache and try resubmitting the sitemap in Google Search Console again.

    5. Disable Caching for Sitemaps: If you are using W3 Total Cache, consider adding the following filter in your theme’s rank-math.php file:

      add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If these steps do not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math

    Hello,

    Thank you for contacting Rank Math support.

    The page sitemap is working fine. Please share a screenshot of the detailed error using a tool like https://imgur.com/ so we can check and help you fix it.

    Looking forward to helping you.

    Fdl
    Rank Math free

    Hello,

    Thanks for your answer.

    Here is the screenshot : https://ibb.co/gSBy0NC

    Please let me know if you have any questions,

    Hello,

    The sitemap was last read on 11/09/2024.

    To get updated information from GSC, please flush the Sitemap cache by following this video screencast: https://i.rankmath.com/pipRDp

    After this, clear your website cache, remove all the submitted sitemaps, and resubmit only the main sitemap in the Search Console and see if that works for you.

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

    Thank you.

    Fdl
    Rank Math free

    Hello,

    Thanks.

    1.Should I “purge everything” or “clear all the cache” ? (Im using Litespeed cache plugin)

    https://ibb.co/khcFCWK

    2. Should I remove all the sitemaps or only the /page-sitemap.xml ?

    https://ibb.co/HY9CMHZ

    Thanks

    Hello,

    You should clear all the cache, remove all the sitemaps, and submit only the main sitemap_index.xml again.

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

    Fdl
    Rank Math free

    Hello,

    Thanks. I followed all the instructions.

    Should it work directly or should I wait a bit ?

    The error is still here.

    https://ibb.co/9GLkzQM

    Thanks

    Hello,

    The sitemap still has not been read. When Google gets around to crawling it again the error should disappear and the last read date should be updated as well.

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

    Fdl
    Rank Math free

    Hello,

    In your opinion, when Google will crawl the next time ?

    We can see the robot have read the file on the 18/09, but for the page-sitemap.xml is still on 11/09.

    https://ibb.co/XpV6fHn

    Hello,

    There’s no definite time when will Google crawl your page sitemap.

    You may need to give Google some time to recrawl and it will update the last read date as well.

    Looking forward to helping you.

    Fdl
    Rank Math free

    Hello,

    Is there a way to accelerate the Google crawl ?

    Mu traffic is dropping…

    Thanks

    Hello,

    The rate at which Google crawls and indexes your pages depends on a number of factors such as crawl rate, crawl budget, the authority of your website, the crawlability of your pages among other things. Please refer to the following guide for how to improve the crawlability and crawl rate of your website: https://www.searchenginejournal.com/crawling-indexability-improve-presence-google-5-steps/167266/

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

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

The ticket ‘Sitemap error’ is closed to new replies.