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

    • Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • 7.3.6 CE GA7, 7.4.0 CE GA1
    • Master
    • Friendly URL Service
    • None
    • 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

            austin.chiang Austin Chiang
            majulvez Miguel Angel Júlvez
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 43 weeks, 4 days ago

              Packages

                Version Package
                Master