Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Using the same Page URL across languagesUsing the same Page URL across languages
Previous
 
Next
New Post
10/26/2015 11:30 AM
 

Hello, I was wondering if there was a way to accomplish this URL structure when using the multilingual component of DNN. So far my research hasn't yielded any results.

Currently I have a website for a client that has four languages: English, French, Cantonese, and Mandarin. English is the default language. There are many pages in the site and we were banking on the URLs to be uniform across the languages with the exception of the language code, which is understandable; however, it seems like we can't have the same page URL across languages. For example:

English: www.example.com/about-us (I have modified the site alias to omit the language code for English)

But when I try to do this for, let's say, French, I am told the submitted URL is not available:

 www.example.com/fr-ca/about-us

Is there a way to accomplish this? With the language code the URL is unique, so the page URL should be available.

I am forced to do something like www.example.com/fr-ca/fr-ca/about-us OR www.example.com/fr-ca/about-us-fr-ca. Neither are ideal and we'd like to NOT do that.

 Any help would be appreciated. Thank you for your time.

 
New Post
10/27/2015 6:36 AM
 
In Admin > Site Settings, you need to setup a primary Alias for each language and should be able afterwards to use the same relative address in any language. Note: there was a bug, which should be fixed in DNN 7.4.2, you might need to upgrade if running a previous version.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/27/2015 10:33 AM
 
Thank you! I do have aliases set up (they're done automatically, aren't they?) but it appears the bug was causing the issue. I have since updated to 7.4.2 and the URLs now operate as expected.
 
New Post
10/27/2015 10:56 AM
 

Quick follow up question:

In my content let's say I have a link going to the about page. Is there a best practice for how to write out the URL so it is dynamic across the languages? Basically, should I be using the fully qualified domain name, or can I use a relative path and DNN will automatically insert the language portion of the URL in front of it with the domain name?

For example the about link could be "http://www.example.com/about-us/" or it could be "/about-us/". If I am currently viewing the site in French, is it possible to configure DNN to automatically insert "/fr-ca" in front of the URL to make it "/fr-ca/about-us/", or at least redirect to that page?

Thank you for your time!

 
New Post
10/27/2015 11:40 AM
 
in a multilingual, you usually have a neutral alias as well as primary, e.g. www.example.com.
Specifying a link to /about should provide a link in correct language.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Using the same Page URL across languagesUsing the same Page URL across languages


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out