Issue
- When I create a new Site, I would like to remove or change the Liferay - DXP logo when configuring a specific page's SEO settings. How can I pursue this?
Environment
- Liferay DXP 7.3
- Liferay DXP 7.4
Resolution
The page title is formed by merging the layout (page) title and the site name. As such, it's expected that there is no out-of-the-box option to modify this format. As such, you can pursue this through a customization. While customizations can only be explored at your team's discretion, as a starting point:
- The following class provides an example OSGi module that changes this title: https://gist.github.com/fabian-bouche-liferay/9cbc6452977b966f0d8a3d8fe54c39e3
- The actual title generation happens here: https://gist.github.com/fabian-bouche-liferay/9cbc6452977b966f0d8a3d8fe54c39e3#file-customlayoutseolinkmanagerimpl-java-L125
StringBundler title = new StringBundler(3);