I am currently trying to create my own sitemapprovider. A aspx (ashx?) file that will dynamically create the sitemap file on request.. no static sitemap file. Everything is read from the database.
Why? I have multiple accounts on the same subdomain (with wildcards), and the sitemap file is different for each user. The sitemap file is only used for google and other search engines.
user1.domain.com
user2.domain.com
user3.domain.com
...
user1000.domain.com
all these subdomain share the same files. And if I create a "/web.sitemap" then all share the same sitemap but thats not correct. Beacause all users create their own pages on their homepage. so they need different sitemaps.
So. I want my sitemap to be reachable for all search engines. And I think that the right way is to register the sitemap in web.config. Right? Or is there another way to do it?
the file now is: sitemap.aspx, or sitemap.ashx. (I am not finished)
How do i register my sitemap so all search engines can find it?
Thanks!