Legacy Knowledge Base
Published Jun. 30, 2025

Cannot publish article without friendly url

Written By

Adam Kollar

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

  • In our Liferay 7.4 instance, editors encounter an error when attempting to publish an article without a Friendly URL, which differs from the behavior in Liferay 7.1.

Environment

  • Liferay DXP 7.4

Resolution

  • The discrepancy between Liferay 7.1 and 7.4 is due to how they handle Friendly URLs. In Liferay 7.1, a Friendly URL was indeed mandatory; however, if you left the field empty and published the article, the system would auto-generate a default Friendly URL.

  • In Liferay 7.4, the Friendly URL for the default language must be filled. If you are working with old articles from previous versions of Liferay that don't contain a Friendly URL on its default translation, you can:

    1. Fill in the Friendly URL field with a keyword or phrase that best encapsulates the content of the article.
    2. Copy the Friendly URL from the other translated version if applicable. If the article is translated into other languages, it's advisable to translate the Friendly URL accordingly.

Additional Information

  • Introduction to Friendly URL's
  • When localizing content, translating the Friendly URL can improve the user experience and SEO, making the content more accessible to users in different languages. Always ensure to use a relevant and descriptive Friendly URL for your articles.

 

Did this article resolve your issue ?

Legacy Knowledge Base