Skip to content

A demo project showing how to use a pre-alpha release of the new XML sitemap functionality (for search engines).

Notifications You must be signed in to change notification settings

NightOwl888/MvcSiteMapProvider_345-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MvcSiteMapProvider_345-2

A demo project showing how to use a pre-alpha release of the new XML sitemap functionality (for search engines).

Important: To use the new XML sitemap functionality, you must disable the old functionality. We are planning to leave the old functionality in place for backward compatibility with existing DI configurations.

If using internal DI, you should set the web.config setting:

<add key="MvcSiteMapProvider_EnableSitemapsXml" value="false"/>

For external DI, you need to ensure the following line is removed (or commented) from your application startup:

// Register the XML sitemap routes for search engines
XmlSiteMapController.RegisterRoutes(RouteTable.Routes);

About

A demo project showing how to use a pre-alpha release of the new XML sitemap functionality (for search engines).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages