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

Canonical and alternates are wrong when property locale.prepend.friendly.url.style=2 is used

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.3.6 CE GA7, 7.4.0 CE GA1
    • Fix Version/s: Master
    • Component/s: Friendly URL Service
    • Labels:
      None
    • Story Points:
      1

      Description

      Steps:

      1. Add locale.prepend.friendly.url.style=2 to portal-ext.properties and reboot
      2. Create a new page with friendly url /news
      3. Logout and go to /<language>/news url
      4. Inspect html code and look for canonical and alternates

      Expected result:

      canonical url is /<language>/news

      Actual result:

      canonical url is /<language>/

        Attachments

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            majulvez Miguel Angel Júlvez
            Participants of an Issue:
            Recent user:
            Austin Chiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 4 days ago

                Packages

                Version Package
                Master