Legacy Knowledge Base
Published Jul. 2, 2025

Instance Name is automatically appended to Child Sites

Written By

Rita Schaff

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The title of a Liferay instance is being appended to the page titles of its child sites:

    <title>Page title - Site title - Instance title</title>
  • Is there any out-of-the-box way to hide it on all sites as well as on a particular site so the title looks like this?

    <title>Page title - Site title</title>
  • We consider this a security issue because a Liferay instance has an empty default site and several subsites. The name of the empty default site will still be visible for a potential attacker on every subsite and give them a hint about which sites belong to the same instance.

Environment

  • DXP 7.3

Resolution

  • This is the intended behavior.
  • The company's name is being displayed in the tag title since at least 21-04-2006. So based on this, we do not think that the presence of this value is not a security bug per se, but it could be seen as such depending on the specific customer requirements, especially when they want to use the same company to create a bunch of non-related, independent sites.
  • At the same time, the current behavior could be seen as desirable by customers who have a group of related sites.
  • Given that both options seem to be reasonable, this part of the title could be configured per company and/or per site.

Feature Request

There is an ongoing feature request to modify the current behavior:
epic.pngLPD-15503 New SEO Configuration at a Site level

Additional Information
Did this article resolve your issue ?

Legacy Knowledge Base