Legacy Knowledge Base
Published Jul. 2, 2025

Site Pages Using “Link to Page” Option Are Not Published When Staging

Written By

Ira Chui

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.

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.

This article describes how staged site pages configured as “Link to Page” behave when published to live. When using the page type, “Link to Page”, that page is not published using default Publish settings. Users can configure the Publish settings to include that page; later versions of Liferay Portal do not have this problem.

Part 1: Setup

  1. Navigate to the Control Panel > Sites.
  2. Create a new site named Alpha Site.
  3. Navigate to the Alpha Site > Site Pages.
  4. Create a page called Test Page 1.
  5. Click on Test Page 1.
  6. Create a child page called Child 1 and select the Wiki page template. The second part is optional but helpful to show the difference between Test Page 1 and Child Page 1.
  7. Click Alpha Site > Site Settings.
  8. Click Staging then activate Local Live.
  9. Navigate to the Alpha Site > Site Pages.
  10. Create a child page on Test Page 2 called Sub1.
  11. Configure Test Page 2 as a Link to Page type and pointing to Child Page1.
Part 2: The Observed Behavior
  1. Click Go to > Alpha Site
  2. On the Live site, Test Page 2 is missing because it has not been published yet. On the Staged site, Test Page 2 displays in the navigation bar and when clicked the system redirects to Child 1.
  3. While on Test Page 2 (which is still pointing to Child 1), click the Staging drop down menu > Publish to Live.
  4. On the Live Page, Test Page 2 does not redirect to Child 1.
  5. Even if Test Page 2 points to its own child page Sub1, Test Page 2 does not redirect to Sub1.

Resolution

The solution is to insure that the Test Page 2 is included during the publication process.
  1. Go to the Alpha Site > Staging drop down.
  2. Click "Publish to Live Now"
  3. Click "Change Selection"
  4. Click the check box next to "Test Page 2"
  5. Click the Publish button.

Additional Information

Known Issues

There is one known issue which involves the Page Versioning feature with pages that are set as “Link to Page”. Verify that the page has been marked “Ready for Publication” (and not Draft) before publishing to live. When these types of site pages are on a staged site, they cannot be published to live.

Did this article resolve your issue ?

Legacy Knowledge Base