My Sitemap is showing error says site map is .HTML

#73255
  • Resolved Daily PUBG Dose
    Rank Math free

    Hey, i have been using rankmath for more than 3 months now. First it was working fine then i got an error saying your site map is HTML: Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.
    The issue got fixed after i went to the rankmath sitemap general settings and saw it was 200 links per sitemap. I changed the number of links to 300 links per sitemap and the issue was fixed.
    However, now i am getting the issue after a month now. Please help me to fix this issue. I don’t know what i have been doing or what is this issue about.
    i am uploading all the related screenshot please check.
    the first two link is of the errors and the third link is the screenshot of the setting of rankmath which i changed earlier. please help me to fix this issue. thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • ello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    You seem to be using Litespeed cache, please head over to cache plugin > Cache > Exclude and set to exclude your sitemap URLs from caching and purge your site cache then do the following:

    1. Head over to WordPress Dashboard > Settings > Permalinks

    Hit the save button once.

    2. Go to WordPress Dashboard > Rank Math > Sitemap Settings

    Hit the save button once.

    That should fix the issue.

    You can then resubmit your main sitemap in your GSC.

    If the issue persists, please do let us know so we can look at this further.

    sir, i am a beginner and i don’t know much about WordPress. Tho i do understand that you are asking me to exclude my sitemap URLs from caching and i know where to do it but i don’t understand how to do it.
    Since i am using the simple sitemap that only index my all posts, categories and pages. i can see the settings to exclude them but i don’t how to put the URLs there. I am sending the screenshots. please tell me how do i put the URLs to exclude them.
    Do i just have to give all the URLs but it doesn’t make any sense. So, i guess you can only help me.
    The exclude section of the lightspeed plugin has some guidelines to put the URLs on the settings. please view the photos and help me to understand them. or i can make you a ID for my WordPress, you can do it please. Thank you.
    lightspeed setting image
    lightspeed setting image
    please check these two images
    https://ibb.co/GWSs0BF
    https://ibb.co/cQFSjBJ

    Hello,

    We would love to assist.

    In this field:

    The add the following fields in there, one per line:

    sitemap_index.xml
    post-sitemap.xml
    page-sitemap.xml
    category-sitemap.xml
    product-sitemap.xml

    Feel free to add any other sitemaps available in your sitemap_index.xml file.

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

    Last time i did the same as you have said and it fixed the problem. I resubmitted my sitemap and all of it was working well, until, i have noticed yesterday that the error has again appeared on the search console again. The same error saying Html tag. What do I do?
    Also, let you know that I purged my caches from lightspeed cache and once clicked on the save button on the Rankmath sitemap setting and tried resubmitting my sitemap. Now it is not showing any error to my main sitemap but there is the same error on my Category_sitemap URL. Here is screenshot of the error. What do I do? Why is it causing so many issues? Tell me a permanent solution, please.
    Here are the link of the screenshots-
    https://ibb.co/Sr4XVZS
    https://ibb.co/6DqJXPk
    https://ibb.co/sF554kK

    Hello,

    Could you please also add the following in the list of excluded URLs:

    
    /main-sitemap.xsl
    

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

The ticket ‘My Sitemap is showing error says site map is .HTML’ is closed to new replies.