Saturday, March 24, 2012

Site map provider

Hello,

I have a web site with several sub sites (not virtual directories) that I want to use separate web.sitemap files for, but I believe there has to be one at the root, right? How can I get around this, or is there a way to limit the results based on a parent node?

Thanks.

There is a custom sitemap provider you can extend from:StaticSiteMapProvider

see ref:http://msdn2.microsoft.com/en-us/library/system.web.staticsitemapprovider.aspx

0 comments:

Post a Comment