Aspnetcore-angular-universal: Google Search Console thinks sitemap.xml is HTML

Created on 28 Feb 2018  路  3Comments  路  Source: TrilonIO/aspnetcore-angular-universal

In Google Search Console the sitemap.xml generated in HomeController fails to be read with the following error:
image

PRs welcome! enhancement

Most helpful comment

Great find! 馃憤 馃挴
Can you make a PR so we can get these changes updated for others?

All 3 comments

UPDATE: After renaming the "sitemapindex" & "sitemap" xml tags to "urlset" & "url" in HomeController.cs and republishing, Google Search Console has processed sitemap.xml successfully

image

Great find! 馃憤 馃挴
Can you make a PR so we can get these changes updated for others?

PR: #565

Was this page helpful?
0 / 5 - 0 ratings