Support » Plugin: XML Sitemaps » Incorrect http header content-type: “” (expected: “application/xml”)

  • Hello,

    I have created a sitemap with the plugin, but I get the following error when I check this sitemap:
    Incorrect http header content-type: “” (expected: “application/xml”)

    The error is shown to me when I check my sitemap e.g. with https://www.xml-sitemaps.com/validate-xml-sitemap.html.

    Does anyone know how it is possible to change my http header content-type for example?

    I disabled other plugins that are responsible for the cache, because I thought that might be the problem. I am very grateful for any help.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Auctollo

    (@auctollo)

    @tobiasme

    Thank you for reaching out to us and sorry to hear about the error you are experiencing.

    Can you please turn off debugging mode and then check if it is still occurring?

    If there are some statements written which execute before the sitemap is generated then these errors might occur. The sitemap pages are XML pages, which do not accept HTML tags or whitespaces.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.