docusaurus: Content type of the sitemap.xml is missing

Should be: application/xml

https://stackoverflow.com/a/3272572/8418

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 3
  • Comments: 22 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Our sitemap is actually correct. sitemap

The XML Viewer in chrome is wrong when we include alternate languages page on the sitemap. Refer to https://github.com/ekalinin/sitemap.js/issues/37

I tried https://www.w3schools.com/xml/xml_validator.asp & it’s actually valid.

If we really want to get that beautiful XML Viewer, removing the alternate languages will do so sdfgh

Edit: Closing this

Thanks @s-pace - I commented on the config changes over at https://github.com/algolia/docsearch-configs/commit/db60b72c31f58a08b6ad07ce8277d7d363baf161 with a couple of questions. Assuming those are good, then I think we can merge it.

@JoelMarcey

Exactly! I use this index in order to show you how it would looks like. Let me know if I can merge it to the original one.

@s-pace Thanks for chiming in here. Hope all is well. Given what @rizafahmi says in the comment just above, do you think we what we have is already good and we do not need to make any changes?