Legacy Knowledge Base
Published Jul. 2, 2025

Setting the Default Landing Page in Liferay Portal

Written By

Liferay Support

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.
Users have the ability to set different default home, default landing pages, and default logout landing pages. There are two places where users can make these changes; in the portal-ext.properties, and in the Control Panel interface.

This article describes how to set the default landing page in Liferay Portal.

Resolution

Using the portal-ext.properties

  1. Start the portal.
  2. Create a site and a page.
  3. Copy the URL, paying attention to the portion after /web. (e.g. /web/comm-site/page1)
  4. Shut down the portal.
  5. Set the following in the portal-ext.properties
    1. auth.forward.by.last.path=true
    2. default.landing.page.path=/web/{site name}/{page name}
  6. Re-Start the portal.
  7. Sign in.
  8. The system will redirect the user to the default landing page without having to navigate to that site page first through the navigation dockbar.

Using the GUI

  1. Start the portal.
  2. Create a site and a page (e.g. “intranet” site and “calendar” page).
  3. Copy the URL, paying attention to the portion after /web. (e.g. /web/intranet/calendar)
  4. Navigate to the Control Panel > Portal Settings.
  5. In the Default Landing Page field, enter /web/{site name}/{page name}. Based on the example of /web/intranet/calendar.
  6. Click Save.
  7. To test, sign out and then sign back in. The system will redirect to the new default landing page.

Setting the properties in the Control Panel GUI will override the portal-ext.properties.

Additional Information

Setting the default landing page will not conflict with the Home URL settings. In fact, users can have a different home site and a different default landing page.

Did this article resolve your issue ?

Legacy Knowledge Base