meteor-sitemaps
meteor-sitemaps copied to clipboard
Sitemap is html
Hi, Thanks for this wonderful and helpful package. Works well. There is this issue i get grom Google's webmaster's console. It says
Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.
though the sitemap's url is /sitemap.xml here's the url naijapoll.com/sitemap.xml
@gadicc Hi, I have exactly the same problem. Google gives this error. @gadicc I hope you did not leave this package. Thanks for checking the url below: https://ghadr.org/sitemap
@kenshinman @gadicc I found the cause of this problem, this problem occurs for those who use prerender. prerender provides these pages to Google in html format.
The only solution is to provide site maps with the xml extension, because only then they are not provided by the prerender and are provided by the meteor itself.
Meteor Render : :+1: /sitemap.xml
Prerender Render as hmlt format : :-1: /sitmap
Hey @Saeeed-B
Great job on figuring this out and thanks so much for reporting back and helping others from your experiences!
Best wishes