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

Remove locales from sitemap.xml when locale.prepend.friendly.url.style=0 is enabled

    Details

      Description

      Adding locale.prepend.friendly.url.style=0 to the portal-ext.properties removes the locale from URL's that are displayed in the browser. However, the sitemap.xml still contains URL's with the locale and search engines will index the URL's with the locale in them. This is undesirable in some use cases, especially when locale.prepend.friendly.url.style=0 is enabled.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            brian.larson Brian Larson
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package