Sitemap plugin: This XML file does not appear to have any style

Hi all,

I hope you are well.

I am using the sitemap netlify plugin, but after deploying the project, the sitemap.xml returns:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"/>

You can find it at www.vanas.ca/sitemap.xml

Netflify:
https://vanascanada.netlify.app/sitemap.xml

Thank you for your help.

@pochat The message regarding styling is just the browser letting you know how it’s rendering it for you, in the absence of any additional style information, it’s perfectly normal.

The bigger issue when I looked at it was the lack of any pages within the sitemap, and my guess is that’s because you’re using nuxt likely with SSR etc, and the Netlify sitemap plugin was created for use with static sites, whereby it scans your build output for .html files.

I also note that the /sitemap.xml file no longer loads, it just shows a 500 error page.

Hi @nathanmartin,

I hope you are well, and thank you for responding.

We ended up building our sitemap manually. I appreciate your explanation about the HTML files, which our website doesn’t have.

Have a great day.

You might want to double check what you’ve done, as your site currently doesn’t have one.

As I mentioned, your /sitemap.xml route is returning a 500 error.

See: https://vanascanada.netlify.app/sitemap.xml

We use i18n and have multiple sitemaps. They are live and well. I appreciate you double-checked.

@pochat I’m not sure why you’re so confident of that.

I see no reference to a sitemap in the HTML of your homepage and no robots.txt.

Known sitemap paths fail to load both at the root and your i18n paths.

Testing with multiple online tools all report no sitemap.