Sitecore - How to generate a sitemap xml [duplicat

2019-06-14 19:10发布

问题:

This question already has an answer here:

  • How to build a sitemap using Sitecore 2 answers

I need to generate a sitemap xml for our sitecore project. I have seen it's done with Nicam example. How can I do this?

(I have asked the same question in a previous post, sorry about the duplicate quesiton, I have removed that. That was a mistake)

回答1:

This is a duplicate question. The same question has been asked yesterday also ;)

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

See the original post/answer



回答2:

There is a module available in the Sitecore Marketplace called SitemapXML. It's downloadable from http://marketplace.sitecore.net/en/Modules/Sitemap_XML.aspx. You can also write your own custom logic to create an sitemap xml defined by your customer's needs.



标签: sitecore