[RESOLVED]how to automatically generate my sitemap.xml

Hi, i understood that the sitemap.xml is important to be on google… than i would like to know if there is an easy script in MVC to generate it aoutomatically.

I want this because my site is a little blog and i update it daily…

another thing that i need to do is the fact that my blog is done in 4 languages ENG, FRA, ITA ESP, so i would love to know ow it works for the site map to be in 4 languages and than ow to generate it..

Thanks

Hi grafic,

As far as I know, there isn’t the script to generate the SiteMap file automatically in ASP.NET MVC.

You need do it by yourself.

There are some articles that can help you:

# Generating dynamic XML Sitemaps in ASP.NET MVC

http://benfoster.io/blog/generating-dynamic-xml-sitemaps-in-aspnet-mvc

# Dynamically create google SiteMap with ASP.NET

http://blog.divergencehosting.com/2009/04/01/dynamic-create-google-sitemap-aspnet/

Best Regards

Starain Chen

Leave a Reply