docusaurus: Content type of the sitemap.xml is missing
Should be: application/xml
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 3
- Comments: 22 (8 by maintainers)
Commits related to this issue
- adding sitemap and enhancing docusaurus search experience facebook/docusaurus#467 — committed to algolia/docsearch-configs by deleted user 6 years ago
Our sitemap is actually correct.
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
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?
@s-pace from Algolia also reported
sitemap.xml
is not compliant with https://www.sitemaps.org/protocol.htmlSee https://github.com/algolia/docsearch-configs/pull/312#issuecomment-364871456