How to build a sitemap using Sitecore

后端 未结 2 1155
被撕碎了的回忆
被撕碎了的回忆 2021-01-05 16:53

I need to create a Sitemap for a Sitecore website. How can I do this?

相关标签:
2条回答
  • 2021-01-05 17:18

    It depends on what you need as a Sitemap. Do you want an XML sitemap that goes to Google? Or do you want a sitemap that shows the structure of your website?

    I'd suggest looking at the Sitecore marketplace (http://marketplace.sitecore.net/SearchResults#query=sitemap), possibly downloading the source code to see how it's done. I think there's an example for both.

    Otherwise, you can also create your own, but we'll need some more information - do you want to write it in XSLT or using codebehind such as C#?

    0 讨论(0)
  • 2021-01-05 17:38

    If you're after a sitemap page to list the pages on your site you should try the Shared Source module 'Sitemap'. http://marketplace.sitecore.net/en/Modules/Sitemap.aspx

    However, if you're after a sitemap for search engine optimization, use Sitemap XML. http://marketplace.sitecore.net/en/Modules/Sitemap_XML.aspx

    0 讨论(0)
提交回复
热议问题