sitemap error- html instead of xml

#385863
  • Resolved hondafury1300
    Rank Math free

    Hello, i have added to google search console: /sitemap_index.xml but i get an error: sitemap is a html .Can you please help me to solve the problem?
    I have added the following code to LiteSpeed cache:
    /(.*)sitemap(.*).xml
    /(.*)sitemap.xsl
    /sitemap_index.xsl
    /sitemap_index.xml

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

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

    Can you please share your website URL with us so we can further check it on our end?

    Looking forward to helping you on this one.

    Hello,

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

    Thank you.

    Hello,

    Google will not be able to access the sitemap as your site is in maintenance mode. You should submit your sitemap only when your site is publicly accessible.

    Hope this clarifies your doubts. Please don’t hesitate to get in touch in case you need any other assistance.

    Thanks.

    Thank you for your advice. I will do as you say. One more question.. Should I delete the sitemap that I uploaded and then after I have disabled the maintenance mode submit a new sitemap, or not? Thanks in advance.

    Hello,

    Yes, you should remove the sitemap for now and resubmit it when the site is live.

    Hope this helps. Let us know if you need any other assistance.

    Thanks.

    Thank you for your help!

    Anas
    Rank Math business

    Hello,

    If you have any questions in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘sitemap error- html instead of xml’ is closed to new replies.