Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-100808

Switching languages when on a site landing page redirects you to the page's friendly URL instead of /

    Details

      Description

      Steps to reproduce

      1. Add www.test.com to your hosts file to point to your local IP address
      2. Add the value locale.prepend.friendly.url.style=1 to your portal-ext.properties
      3. Enable virtual hosting on the public pages of the test site and have it use the domain www.test.com
      4. Navigate to http://www.test.com:8080/
      5. Add the language selector portlet to a page
      6. Use the language selector portlet to switch languages

      Expected behavior is that you will go to http://www.test.com:8080/languageId/
      Actual behavior is that you will go to http://www.test.com:8080/languageId/home

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                minhchau.dang Minhchau Dang
                Participants of an Issue:
                Recent user:
                Minhchau Dang
                Engineering Assignee:
                Minhchau Dang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  39 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP87
                  7.0.10.12 DXP SP12
                  7.0.X
                  7.1.10 DXP FP14
                  7.1.X
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.X
                  7.2.1 CE GA2
                  Master