↧
Answer by B2K for Sitemap doesn't show as xml
Here's what we do to generate the sitemap for autoquoter.com. See http://www.autoquoter.com/aq/sitemap.xml var sitemap = new XDocument( new XDeclaration("1.0", "utf-8", "yes"), new...
View ArticleAnswer by radu florescu for Sitemap doesn't show as xml
EDIT 1:It seems that you may lose some of the xml specific header files:Check this link outThis might also be a valid example on how to create an xml site map:Sitemap xml for googleAnother...
View ArticleSitemap doesn't show as xml
I've got the following classes for my sitemap generation:public class SitemapItem{ public SitemapItem(string url) { this.Url = url; this.AlternateLinks = new List<SiteMapAlternateLink>(); }...
View Article