Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Multilingual: In a multilingual, multi-site setup, the site with a single language shows inconsistent URLs

« Go Back

Information

 
Article Number000098899
EnvironmentProduct: Sitefinity
Version: 8.x, 9.x, 10.x,11.x, 12.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description
A site has a multilingual(en, fr, de) and multisite setup.
One site in the multisite has only one language(de).

The site has language prefix enabled for the default language of the site as provided in the following documentation: 
Sitefinity Documentation, Language settings: https://www.progress.com/documentation/sitefinity-cms/administration-language-settings#language-prefixes-in-page-urls

For the site with a single language, the language prefix loads as expected for all the pages in the navigation widget as expected on site initialization. However, after the first redirect, the prefix is lost and the URLs are loaded ignoring the "includeSubfoderPrefixForDefaultLanguage" settings.
The sitemap too generates URLs inconsistently.
Steps to Reproduce1. Enable the multisite module and add new languages(en, fr, de) to the site at the Global level(Administration >Settings> Languages)
2.Enable language prefix to the default language of the site by following the documentation:
Sitefinity Documentation, Language settings: https://www.progress.com/documentation/sitefinity-cms/administration-language-settings#language-prefixes-in-page-urls
3. Create a new site by clicking on the Site name and clicking on "Manage Sites" > Create a site
4. In the "Create a Site" form, make a Language(de) as the Default language and delete all other languages and finish the site creation
5. Create few pages in the newly created site and add navigation widget in the pages.
Expected:
1. The URLs of all the pages in the navigation widget should have the culture component(Ex: mysite/de/mypage) even after multiple redirects.
2. The sitemap should have the URLs to all the content on the site with the language prefix
Actual:
1. The URLs of the pages in navigation loads fine on the first time but the language component is lost after the first redirect/reload.
2. Few contents have URLs with the language component but some don't.

Observed: language subfolder is included in the sites with 2+ languages, it is not included in the sites with only 1 language
Clarifying Information
Error Message
Defect/Enhancement NumberBug 260976
Cause
For more information about Bug 260976, see https://feedback.progress.com/Project/153/feedback/Details/260976
 
Resolution
None at the moment
Workaround
Add a second language to the site with the issue.
Notes
The amount of votes an item in the feedback portal has is taken into consideration when determining its priority. Vote for the item using the Like and Dislike buttons in the right-hand side menu to affect the priority it has. By casting a vote the voter will also be subscribed to a mailing list to receive notifications about changes of the item such as when it is fixed or implemented.
 
Attachment 
Last Modified Date10/9/2019 2:27 PM