Legacy Knowledge Base
Published Jul. 2, 2025

Broken Links Prevent Web Content from Publishing in DXP 7.0

Written By

Christopher Lui

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.

Starting with Liferay Digital Experience Platform (DXP) 7.0, a new validation process was added to check if linked text in a web content article links to a valid Liferay page.

The way the validator works is this:

  1. Once the validator detects a link within the text of a web content, it first checks the beginning of the link to determine what the domain is.
  2. If the domain matches one of the virtual hosts configured by Liferay DXP, it will strip the domain (and port, if it exists) out of the URL and send the tail end of the URL to the validator.
  3. Otherwise, it assumes that the link is going to an external page —rather than to a Liferay page— so it skips the validation for that link.

The problem is that someone could have their server configured to consist partially of Liferay pages and partially of external pages within the same domain. In this case, the validation will fail because the validator will think the external page is a Liferay page.

Resolution

As of Fix Pack 32 (DE-32) there is an option to disable the validation check. 

  1. Navigate to Control Panel → Configuration → System Settings → export-import-service-configuration-name 

    Please Note: The name is updated to Export/Import Service in DE-36

  2. Uncheck the box that says validateLayoutReferences
  3. Add an invalid /web link to a Web Content article
  4. Save 

See LPS-74130 for the bug report. 

Did this article resolve your issue ?

Legacy Knowledge Base