How to populate a sitemap automatically

Suppose my site has thousands of files. when I add the sitemap file to my project, then I had to add all the URLs manually. it is a very tedious job. more pages may be added to my site day after day, and then again I had to add this URL again to the Sitemap.

please tell me how can I automatically populate a Sitemap from VSE ID2. there anyway. again, when any new page is added, then this entry for this page will be added to my site map. how to achieve such automation. Is there any utility for VS2010? plzz discuss ... thanks

The sitemap below is a sample.

<?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="~/default.aspx" title="Home" description="The WebSite Home Page"> <siteMapNode url="~/DE/index.aspx" title="DE Home" description="DE Home"> <siteMapNode url="~/DE/Parts.aspx" title="Part" description="DE Part" /> <siteMapNode url="~/DE/SubParts.aspx" title="Subpart" description="DE Subpart" /> </siteMapNode> <siteMapNode url="~/US/index.aspx" title="US Home" description="US Home"> <siteMapNode url="~/US/Parts.aspx" title="Part" description="US Part" /> <siteMapNode url="~/US/SubParts.aspx" title="Subpart" description="US Subpart" /> </siteMapNode> <siteMapNode url="~/UK/index.aspx" title="UK Home" description="UK Home"> <siteMapNode url="~/UK/Parts.aspx" title="Part" description="UK Part" /> <siteMapNode url="~/UK/SubParts.aspx" title="Subpart" description="UK Subpart" /> </siteMapNode> </siteMapNode> </siteMap> 

if my site map file name is different from what I need to do. plzz recommend. thanks

+6
source share
5 answers

Sitemap Generator is something that can help, but it has not been updated for some time. I have no experience with this though.

+2
source

U can use EasySiteMap .

It generates all the necessary Sitemaps in the specified format. It also generates a sitemap_index.xml file if more than one sitemap.xml file has been created.

0
source

The SiteMap generator has been updated to version 1.1. Check out the new version on CodePlex. url: http://sitemapgenerator.codeplex.com/releases/view/87350

-1
source

Source: https://habr.com/ru/post/901698/


All Articles