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

Locale appears in URLs in sitemap even though locale.prepend.friendly.url.style=0 is enabled

    Details

      Description

      Steps to reproduce
      1) Add "locale.prepend.friendly.url.style=0" and "locales.enabled=en_US,fr_FR" to the portal-ext.properties and start the bundle.
      2) Navigate to Admin > Control Panel > Sites and create a new site.
      3) Create two pages ("welcome" and "pageA").
      4) Modify the friendly URL of pageA. Add the friendly URL "/pagea-fr" for the locale FR and add the friendly URL "/pagea-en" for the locale EN. Save.
      5) Add the virtual host "helloworld" to your hosts file.
      6) Navigate to Site Administration > Configuration > Site Settings > Site URL and add "helloworld.com" to the public pages virtual host.
      7) Go to Site Administration > Configuration > Site Settings > Sitemap and download the Sitemap for public pages.
      8) Open the sitemap and observe that the locale is still prepended to the URL.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            jonathan.mccann Jonathan McCann
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 33 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 Beta 8