• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Browser language detection broken after upgrade

You are not authorized to post a reply.

New Around Here

New Around Here

    Hello, I have upgrade a website from 9.2 to 9.11 and  now the detection of browser language is not done anymore if portal alias is not correct. I am able to reproduce issue 100% by downloading clean install of both versions from github. 

    Step to reproduce : 

    • Create Website normally
    • Add a new language
    • Allow LocalizedContent, Enable Localized Content, Enable Browser Language Detection
    • Make the home page available for both default and new language
    • Go to Site Behavior -> Site aliases and unassign primary site alias without language (to force people having the language in the url)
    • Open incognito tab and browse home page (without any language in the url)

    In 9.2 we were redirect to browser language, in 9.11 users are redirected to the default system language. 

    Thanks in advance

    Veteran Member

    Veteran Member

      If this is a reproducable bug, you should document it here:

      Issues · dnnsoftware/Dnn.Platform · GitHub

      Happy DNNing!


      Michael Tobisch

      dnnWerk Austria
      DNN Connect

      Veteran Member

      Veteran Member

        Did you also try this in a Private Browser window?
        Browsers are notorious for caching 301 redirects..

        Growing Member

        Growing Member

          Have you double check that everything looks okay in section "Site Settings -> Site Aliases"?

          Ing. Marco Alvarado Gómez MSc | Globalode
          Phone. +506 6049-1880 | WhatsApp. +506 6049-1880 | Email. [email protected]
          Address. Costa Rica, Moravia.

          New Around Here

          New Around Here

            Thanks for your answers.

            Did you also try this in a Private Browser window?

            Yes I tryed private mode and even others browsers. As mentionned we are able to reproduce it 100% even from clean configuration by creating a DNN website.

            Have you double check that everything looks okay in section "Site Settings -> Site Aliases"?

            What do you mean by "everything looks okay". Because yes everything is supposed to be okay

            Veteran Member

            Veteran Member

              We can't quite answer you intelligently about whether or not your Site Aliases look okay or not.  That's something that only you can know. 

              In general, you should only ever have the URLs that the site should respond to, and only one as a primary domain name.  The rest should be redirects/rewrites or deleted altogether.  

              Will Strohl

              Upendo Ventures DNN experts since 2003
              Official provider of the DNN-based E-Commerce w/ Hotcakes Commerce Cloud and SLA support
              You are not authorized to post a reply.

              These Forums are dedicated to discussion of DNN Platform.

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

              1. If you have (suspected) security issues, please do not post them in the forums but send an email to [email protected]
              2. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
              3. 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.
              4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
              5. No Flaming or Trolling.
              6. No Profanity, Racism, or Prejudice.
              7. Site Moderators have the final word on approving / removing a thread or post or comment.
              8. English language posting only, please.

              Would you like to help us?

              Awesome! Simply post in the forums using the link below and we'll get you started.

              Get Involved