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.
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.
Hello,
I hope it, keep us update if it finally works for you!
Looking forward to help you.
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.
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?
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.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
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.
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.
Done thanks. It looks like it’s unavoidable on a Windows server and suppressing the error messages does the trick.
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.