Legacy Knowledge Base
Published Jun. 30, 2025

How does "company.default.home.url" property work?

Written By

Balázs Répás

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

  • I don't understand how company.default.home.url in portal-ext.properties and the setting of Control Panel ->Instance Settings -> Instance Configuration -> General -> Home URL work together.

Environment

  • DXP 2024.Q1.11

Resolution

  • The company.default.home.url property provides the default value.
  • If the Home URL field is left blank, the value provided in company.default.home.url will be used.
  • If the field is not empty, it will take precedence over company.default.home.url.
  • Example:
    • If company.default.home.url=/web/guest/search and and the Home URL field is blank, the search page will be shown when you first open the portal.
    • Setting the Home URL field to /home will override the company.default.home.url value, showing the home page when you first open the portal.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base