sitemap problem

#503235
  • Resolved Niraj sinha
    Rank Math free

    how to fix this in sitemap

    Incorrect http header content-type: “text/html” (expected: “application/xml”)

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

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    The error means that although the content-type header in the response stated that the data is of the XML type (specifically application/xml), the process was expecting to receive an XML document over HTTP instead of an HTML page.

    Can you please share your sitemap URL with us? So that we can investigate the issue for you.

    Looking forward to helping you.

    Thank you.

    Hello,

    Can you please try following the guide below without skipping any of the steps to see if that fixes the issue for you?
    https://rankmath.com/kb/incorrect-http-header-content-type-sitemap-error/

    Looking forward to helping you.

    Thank you.

    i tried all ways mentioned there but still Incorrect http header content-type: “text/html” (expected: “application/xml”) error is there i tried to contact my host but no reply from them
    Is there any other way to fix it like if i changed my host will this problem be solved

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Looking forward to helping you.

    Thank you.

    Hello,

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

    Thank you.

    Nigel
    Rank Math business

    Hello,

    I checked your sitemap settings and did not find anything that could cause the crawl error. Please contact your host and ask for help disabling any security settings that might block sitemap crawlers.

    Hope that helps. Please let us know if you have questions.

    i tried contacting my host(profreehost) but they havn’t replied yet
    if i changed my host to a new one will this will be fixed or not?

    Hello,

    If your web host is still not getting back to you for too long, then you can try with a different hosting and check if the issue still persists.

    Let us know how this goes.

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

The ticket ‘sitemap problem’ is closed to new replies.