Staging

Configuring Page Publishing

Staging and publishing settings control how temporary files are managed during the publishing process and how the staged site reaches a remote Live site.

A publish process doesn’t publish a parent page unless you select it. When a parent page is missing from Live, the process creates a placeholder for it instead of publishing the real page, so select every parent page you want present on Live. See Unresolved References for the placeholder rules.

Liferay DXP 2026.Q1+ Batch-supported entities use lazy references, so a publish process doesn’t carry their referenced content to Live automatically. For the affected entity types and how to select referenced content, see Understanding Batch-Supported Publishing.

Note

Liferay DXP 2026.Q1 and earlier included two Staging settings that no longer exist, one of them governing parent pages. See Publishing in Liferay DXP 2026.Q1 and Earlier.

To adjust publishing configurations,

  1. Open the Global Menu (Global Menu), click the Control Panel, and go to System Settings → Infrastructure.

  2. Click Staging under Virtual Instance Scope in the left menu. The following settings are available:

    SettingEnabled BehaviorDisabled Behavior
    Delete temporary LAR during a failed staging publish process.The temporary LAR is deleted during a failed staging publish process.The temporary LAR is retained when a staging publish process fails, and you can use it to troubleshoot the failure.
    Delete temporary LAR during a successful staging publish process.The temporary LAR is deleted during a successful staging publish process.The temporary LAR is retained after a successful staging publish process.
    Use the virtual host of the remote site.The remote site’s virtual host is used when accessing the remote Live site from the staged site.The remote site’s virtual host is not used.
  3. Click Save.

Publishing/Exporting Child Pages

You can select specific child pages to publish or export, leaving out pages you haven’t changed.

To publish only a child page,

  1. With the parent, the child page, and the selected staging process in place, visit your page and select the Staging tab at the top left corner.

  2. Make alterations to the page and publish it.

  3. Visit your page again and click Publish to Live to publish your changes.

    While in Staging mode, publish only alterations made to a child page.

  4. Click Switch to Advanced Publish Process at the top right corner to see advanced options.

    See Advanced Publish Process options.

  5. Under Pages to Publish, select the child page(s) you want to publish.

    Select the parent page too if it isn’t already present on Live.

    Select the child page(s) you want to publish.

  6. Configure the process and click Publish to Live.

Only the alterations to the selected child pages are published.

Liferay DXP 2024.Q2+/Portal GA120+ To export a site manually and select only alterations from the child page,

Important

Currently, this feature is behind a release feature flag (LPS-199086). Read Release Feature Flags for more information.

  1. With the parent and the child page in place, open the Site Menu (Global Menu), expand Publishing, and select Export.

  2. Click New.

  3. Under Pages to Export, select the child page(s) you want to export.

    Select the child page(s) you want to export.

  4. Configure the process and click Export.

Only the alterations to the selected child pages are exported.

Publishing in Liferay DXP 2026.Q1 and Earlier

Liferay DXP 2026.Q1 and earlier

Liferay DXP 2026.Q1 and earlier had five settings in the Staging panel at Control Panel → System Settings → Infrastructure rather than three. Two of them set defaults for what a publish process carried to Live: Publish Parent Pages by Default and Publish Displayed Content by Default.

Publish Parent Pages by Default governed the parent of a page selected for publishing. When it was checked, parent pages were always published to Live. When it was unchecked, a parent page was published only when it did not already exist in Live, and a reference element was added for it.

Publish Displayed Content by Default governed the content shown in four widgets: Dynamic Data Lists Display, Form, Web Content Display, and Wiki Display. When it was checked, the displayed content was published to Live for those widgets, regardless of the publish process settings. When it was unchecked, displayed content already present in Live was not republished. See Publishing Displayed Content in Liferay DXP 2026.Q1 and Earlier for more about the setting.

Both settings are removed as of Liferay DXP 2026.Q2. See Liferay DXP 2026.Q2 Breaking Changes for the removal entries, and Infrastructure for the Staging settings that remain.