Legacy Knowledge Base
Published Jun. 30, 2025

I cannot use the Friendly URL of Categories

Written By

Tímea Bihari

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

I create a Category and a Display Page Template the following way:

  1. Navigate to Categorization > Categories
  2. Create a vocabulary and add one category under it
  3. Define a friendlyurl for the category (already done per default)
  4. Go to Design > Page Templates > Display Page Templates
  5. Create a display page template for categories and mark it as default
  6. Go back to your category, edit it and add this DPT under the Details tab
  7. Click the Ellipsis menu of the category and click "View Display Page"

Expected Result: The category page opens with the displayed/set friendlyurl.
Actual Results: The category page opens with the "technical" url with the category id, e.g. /v/32026. If you enter the friendlyurl manually, you get the 404 error page.

 

Environment

  • Quarterly Releases

Resolution

  • The friendly URL in categories is used by a specific component in Commerce. It is currently not possible to use this friendly URL in other places, for example, when using Display Page Templates associated to categories.
  • A Feature Request has been opened in order to apply this functionality to the rest of the portal. 
  • You can access and follow the progress of the Feature Request on this ticket: LPD-927
Did this article resolve your issue ?

Legacy Knowledge Base