Legacy Knowledge Base
Published Jun. 30, 2025

Needs to change friendly URL of web content

Written By

Kanchan Bisht

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

  • When working with assets such as 'Web Content', the details always include the friendly URL. The concern now is that this friendly URL contains a hyphen (-) that requires to be removed.

Environment

  • Liferay DXP 7.4

Resolution

  • The observed URL with a hyphen is the expected behavior of the DXP. Liferay requires the hyphen to determine where the page's friendly URL ends and the portlet's friendly URL begins. Therefore, the hyphen cannot be removed from the URLs.

Additional Information

  • Users can always consider changing the functionality by customization, modifying the path XML, or using URL filters (Friendly URLs – Liferay Help Center)
  • Please note that in the case of customizations, the assistance is provided by a different channel called "Global Services Team" which can be reached by a Sales representative.
Did this article resolve your issue ?

Legacy Knowledge Base