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

URL parameters should not be lost when redirecting to a locale prepend URL

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:

      Description

      1. Add language portlet to the default home page
      2. Logout
      3. Click on a different language, like Spanish
      4. Now try to access a URL without the locale prepend adding some parameters, for example:

      http://localhost:8080/?parameter=true

      It will redirect the user to a locale prepend URL but without the parameter:

      http://localhost:8080/es/web/guest/home

      The problem is that when a user clicks a google ad that has some parameters like:

      http://localhost:8080/?utm_source=testSource1&utm_medium=testMedium1&utm_campaign=testCamp1

      The click will lose all its parameters, thus losing information for Analytics statistics

      To workaround, one could set Ad links with the complete page URL, like:

      http://localhost:8080/web/guest/home

      So it won't lose the parameters, and the final URL ends like:

      http://localhost:8080/es/home?parameter=true

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              ricardo.funke Ricardo Funke (Inactive)
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package