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

Generate urls in partially translated sites

Details

    • Engage - Discover Content and Products
    • Done

    Description

      Currently Liferay generates an hreflang alternate url in the head of every page for every translations available for that site. While this is helpful if you entire site is fully translated in every language, it becomes a problem when not every page is translated.

      With content pages, we need a way for Liferay to know if there is a translation for a given page and only populate the hreflang if there is. Also, that url wouldn't even exist if there wasn't a translation.

      Without this, site crawlers scrape all of the untranslated pages and flag some of them for duplicate content.

      Attachments

        Issue Links

          Activity

            People

              support-lep@liferay.com SE Support
              pablo.agulla Pablo Agulla
              Wesley Gong Wesley Gong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package