C# – SEO: Custom sitemap provider versus static web.sitemap file

asp.netcseositemap

We are using a custom sitemap provider to populate an ASP.Net application's menu control from a recursive database table and therefore do not use the static xml web.sitemap file:

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
    <siteMapNode url="" title=""  description="">
        <siteMapNode url="" title=""  description="" />
        <siteMapNode url="" title=""  description="" />
    </siteMapNode>
</siteMap>

For SEO optimization reasons would it be useful to export the customsitemap provider's items into the web.sitemap file even though the app doesn't even use the web.sitemap file?

If it does impact positively on SEO, what approach to use to get the sitemapprovider items into the xml file in the correct format?

How would you go about doing that?

Best Answer

I'm not sure anything particularly cares about asp.net's sitemap beyond asp.net itself. As far as converting into the infinitely more SEO happy (Google) Sitemap schema - this is the kind of job XSLT is designed for.

Related Topic