Allow Friendly URLs to Be Generated When Linking Content to Specific Display Pages

Currently, when a link is mapped to a specific Display Page, Liferay generates a URL containing the Display Page friendly URL and the content identifiers (for example, /e//). This is because the system treats the URL as “render this content on this particular page” rather than as a content-centric URL.

However, when the selected Display Page is the same as the content’s configured default Display Page, users expect the URL to remain content-centric and use the content friendly URL format (for example, /c_/), regardless of whether the link was created by selecting the specific Display Page or the Default Display Page option.

This feature request proposes improving URL generation so that Liferay can generate friendly URLs based on the content’s friendly URL whenever the selected Display Page matches the content’s default Display Page. This would provide more consistent URLs, improve SEO behavior, and avoid exposing internal numeric identifiers when there is no ambiguity in resolving the content.

Thank you for considering this request.