How to build a sitemap using Sitecore

2020-03-02 08:11发布

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

标签: sitecore
2条回答
我只想做你的唯一
2楼-- · 2020-03-02 08:21

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

查看更多
姐就是有狂的资本
3楼-- · 2020-03-02 08:35

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#?

查看更多
登录 后发表回答