Creating a sitemap.xml file for Google Console

I am trying to connect my website to Google Console, but it says that the automatically generated sitemap.xml is HTML and Marks this as an error.

What does this mean? Is it not html per definition? Is there a method to fix this?

I’m using concrete 9 the latest version and have a multilingual website.

If you are looking for technical assistance, be sure and include the version of Concrete and PHP that you are using.

If you manually go to /sitemap.xml on your site, do you actually get an XML document?
(it should be pretty obvious)

If not, and you get a 404 page, you may need to visit the ‘Tasks’ section of your dashboard, and then run the ‘Generate Sitemap’ task. That sound then create the actual sitemap.xml on your server.

1 Like

Thank you. The index is created as xml. Google Console now seems to work with it. It seems confused though because while updating from concrete 5 to concrete 9 i deleted some pages and used different slugs. I wonder How long it takes to forget and delete the history. I hope it will now get an update with the new index.