Google Search Console – unsupported format

#88660
  • Resolved Dean
    Rank Math free

    It manages to fetch the index sitemap but cannot get the others:

    Unsupported File Format

    Your Sitemap does not appear to be in a supported format.

    Please advise as it looks fine to me. Do I need to submit the sitemaps individually?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Alberto
    Rank Math business

    Hello,

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

    The only sitemap you need to submit is sitemap_index.xml. Are you using any cache system? It could be caching the sitemaps and therefore Google would get them in HTML format instead of XML.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Dean
    Rank Math free

    It looks like there was a warning about chmod entered into the beginning of the page for some reason. I sorted that, the text disappeared and then it was ok.

    After that the automatic update failed and the entire folder content for your plugin was deleted. At that point the sitemap failed again, simply diverting to a website page…

    I deleted the folders and re-installed and it seemed to be working again.

    Google search console currently has the index sitemap ok but the ones linked to it thinks are an unsupported format. There is no problem with the sitemap format – I have checked the source – so hopefully Google will catch up with the linked sitemaps soon.

    Alberto
    Rank Math business

    Hello,

    I hope it, keep us update if it finally works for you!

    Looking forward to help you.

    Dean
    Rank Math free

    Could you let me have your thoughts regarding this as the only solution so far is a bit of a hack.

    The sitemap files have code at the beginning stating that chmod() has been disabled for security reasons and that stops the sitemap from being accepted by Google Search Console (or being displayed).

    No other pages or posts have this message inserted into them.

    Dean
    Rank Math free

    I should add that it is running on a Windows server and this is the root cause of the issue, but I need a way to overcome it. As pages and posts are produced without that error text I assume there must be a way for this to do the same?

    Alberto
    Rank Math business

    Hello,

    Usually, you shouldn’t see those messages in any case since they are debug messages. You might want to check if PHP has debug enabled (or WordPress) and if they are, disable them. After that, those messages shouldn’t appear anymore.

    Looking forward to help you.

    Dean
    Rank Math free

    Hello,

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

    Thank you.

    Dean
    Rank Math free

    That’s what I have done. Debug was set to false but it was still showing regardless so I replaced the debug bit with the lines in the sensitive data bit and it is suppressing the error messages now.

    Alberto
    Rank Math business

    Hello,

    Those are good news! Then, do you have any other questions? Or do you want us to close this thread? In any case, we will be here if you have any other questions or issues in the future.

    Looking forward to help you.

    Dean
    Rank Math free

    Done thanks. It looks like it’s unavoidable on a Windows server and suppressing the error messages does the trick.

    Sajid Khan
    Rank Math business

    Hello,

    We are super happy that this resolved your issue.

    If you do have another question 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 11 replies - 1 through 11 (of 11 total)

The ticket ‘Google Search Console – unsupported format’ is closed to new replies.