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

Being redirected to language specific page with virtual host set adds /web back to url

    Details

      Description

      Description
      After setting a virtual host to remove /web from urls, a localized friendly url page will redirect to a url with /web added back.

      Steps to Reproduce

      1. In /etc/hosts set
        127.0.0.1    test.com
        
      2. Start Liferay
      3. Go to Control Panel > Configuration > Instance Settings
      4. Set Virtual Host to "test.com"
      5. Go to the default site > navigation > site pages
      6. Configure the welcome page
      7. Set the friendly URL for the Spanish language to /casa
      8. go to test.com:8080/casa

      Expected Results
      You are redirected to test.com:8080/en/home because the default site language is English.
      Actual Results
      You are redirected to test.com:8080/en/web/guest/home

      Reproduced on
      Master: 500699b1d05a4633397556851ed612ff7469c284

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sharry.shi Sharry Shi
                Reporter:
                samuel.ziemer Sam Ziemer
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 27 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP59
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.X
                  Master