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

We are not generating canonical/alternate URLs properly when accessing localized friendly urls

Details

    Description

      Steps to reproduce the issue:

      1. Add a page and localize the title and the friendly url.
      English -> Title: Layout1 FriendlyURL: /layout1
      Spanish -> Title: Pagina1 FriendlyURL: /pagina1
      2. Access with a Spanish user to /pagina1

      Check the HTML source code to see that the canonical URL and the alternate urls are not properly generated (the url is not valid because it's missing the friendlyURL part)

      However, if you access to the url /layou1 with an English users the canonical/alternate urls are properly generated

      Attachments

        Issue Links

          Activity

            People

              felix.zhang Felix Zhang
              sergio.gonzalez Sergio Gonzalez (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 48 weeks, 1 day ago

                Packages

                  Version Package
                  6.2.1 CE GA2
                  6.2.X EE
                  7.0.0 M1