NuGet | ||
---|---|---|
Production | ||
Development |
This simple package helps generate search engine sitemap's for ASP.NET web applications.
Package Name: SimpleSitemap
CLI: install-package SimpleSitemap
What is a Sitemap? Are sitemaps and robots.txt the same thing? Why do I need a sitemap at all?
The wiki has answers all these questions.
Output examples:
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.myWebSite.com/sitemap/products/?page=1</loc>
<lastmod>2014-11-24T09:22-08:00</lastmod>
</sitemap>
<sitemap>...</sitemap>
....
</sitemapindex>
or
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.myWebSite.com/products/1</loc>
<lastmod>2014-11-21T06:31-08:00</lastmod>
<changefreq>hourly</changefreq>
<priority>1</priority>
</url>
<url>....</url>
....
</urlset>