Dhanuka777
Dhanuka777

Reputation: 8636

How to build a sitemap using Sitecore

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

Upvotes: 6

Views: 10245

Answers (2)

Trayek
Trayek

Reputation: 4410

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

Upvotes: 2

Sean Holmesby
Sean Holmesby

Reputation: 2145

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

Upvotes: 8

Related Questions