Overview
Users may want to remove the Language code from their URL and assign a different URL for the URL in their language. This article details how to accomplish this through the UI.
Prerequisites
- Access to an Administrator or SuperUser account.
Diagnosis
By default, when setting up multiple languages in a DNN instance, culture codes are added on to the domain aliases based on the localization. This can be seen here:
Solution
1. Log in to your DNN instance with admin credentials.
2. Go to Persona Bar > Settings > Site Settings.
3. Click on the Site Behavior tab and then the Site Aliases tab.
4. Add a Site alias (with a URL without any culture code) for the site and click on the pencil icon to edit. If you already have a blank alias, you can edit that alias and do not need to add a new one.
5. Use the Language drop-down to select the language for the site and then click on the Set Primary button.
6. The following dialogue box will pop up, verifying the changes have been made. You will also see that there's a checkmark indicating that the clean alias is the primary.
7. Clear your cache.
Testing
Validate the change by
- Logging out of your DNN instance and refreshing your web browser to access the site again with the created Alias. If successful, the page should load with the clean alias and not have any culture code until you click on a flag to switch the language of the site.
Comments
0 comments
Please sign in to leave a comment.