Site structure
Version 6.x > Site structure > Sitemap and Localization View modes: 
User avatar
Member
Member
infoxisi-gmail - 6/25/2012 5:38:53 AM
   
Sitemap and Localization
Hi all,

We have our main domain targeting English speaking people at example.com and we are in the process of localizing some of our pages into fr, so wanted to have our fr version in a sub folder at example.com/fr

This is all a new experience for me since I have mainly worked with static pages before in my career where all the pages were available in their respective folders. Where in a CMS concept they are not actually.

We have one sitemap.xml file at example.com/sitemap.xml and I was wondering how do I create a separate one for fr version? Is that example.com/fr/sitemap.xml?

How do I create virtual folders? Is that advisable? Or can I have all the /fr/ URLs in the main sitemap itself?

Thanks a lot!

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 6/25/2012 6:02:41 AM
   
RE:Sitemap and Localization
Hello,

A sitemap is only a repeater, which displays the pages in an XML format. If you want to have a different sitemap, then you could create a custom sitemap.xml page which would generate the correct XML for the content tree. Otherwise, if you'd use the standard sitemap xml file, then the content will be generated by the current culture and your settings (e.g. the missing files would be filled in by the default content culture, if set so).

Best regards,
Boris Pocatko

User avatar
Member
Member
infoxisi-gmail - 6/25/2012 7:04:04 AM
   
RE:Sitemap and Localization
Hi,
Thanks, but I was looking for solution for my localization effort ) I wonder If I have to have multiple sitemaps or a single one combining all these localized URLs is suffice


Best

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 6/25/2012 7:14:38 AM
   
RE:Sitemap and Localization
Hello,

You don't have to have multiple sitemaps for each language version. The system will handle this scenario by itself. It depends what you want to display. Could you please give me an example, how the sitemap should work? For example what nodes should be displayed, if one node is available in one culture, but it isn't translated in the other?

Best regards,
Boris Pocatko

User avatar
Member
Member
infoxisi-gmail - 6/25/2012 7:23:16 AM
   
RE:Sitemap and Localization
Hi,

Thanks again!

Actually I am not that much technical. We have been using Kentico for sometimes now. All these days I have worked on various static websites where we will create folders ourselves and put the index and other related files in it. And all these pages(URLs) were available for the eyes to see :)

But, it is not the case with CMS driven dynamic websites it seems. We already have a xml sitemap at example.com/sitemap.xml. And we are going to have a subfolder targeting french speaking customers. So we are going have some of translated pages at example.com/fr/whatever-it-is.aspx

If it is a static website I will access the server and will create a folder and name it 'fr' and will upload all the files in it including the sitemap.xml file. But when I asked my tech team to do the same, they told me that creating a folder is not possible in CMS driven system. They say some IDs, nods which I am not aware of.

So looking for a solution, hope you could help :)

Thanks a ton!

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 6/25/2012 8:06:08 AM
   
RE:Sitemap and Localization
Hello,

I would suggest you to check at first our documentation. There are some configuration options available in Kentico, which will allow you to configure a sub directory for a language. Please check the links below:

Overview
Multilingual configuration
Multilingual URLs

Afterwards, you should have a basic idea of the multilingual support in Kentico and how to setup a site with different cultures enabled.

Best regards,
Boris Pocatko

User avatar
Member
Member
infoxisi-gmail - 6/25/2012 8:07:53 AM
   
RE:Sitemap and Localization
WoW...!

That's indeed what I was looking for. Thanks for the wonderful help!

Cheers!