Legacy Knowledge Base
Published Jun. 30, 2025

Issue with the custom friendly url of blogs

Written By

Rishabh Agrawal

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

  • The custom-friendly URL of the blog gets changed when it is published to Live from Staging.

    Steps to reproduce:
    1. Connect the Mysql or any database with Liferay DXP 7.1 fix-pack-dxp-15-7110.
    2. Once connected, start the DXP instance.
    3. From the left side panel, navigate to publishing->staging->select local live, enable only 'Blogs', and finally click save.
    4. Again from the side panel, navigate to content->blogs and add a new blog.
    5. Keep the title of the blog something like 'Welcome to liferay' and the custom URL as 'welcome-to-liferay-english' and then publish the blog.
    6. Once the blog is published, go to the actions button and click the 'Publish to Live' option.
    7. Now go to the database and type the SQL query select * from BlogsEntry where title = 'welcome to liferay'.
    8. Check the value of the field 'urlTitle' from the output of the above-executed query. It is observed that the first row has the value 'welcome-to-liferay-english' and the second row has the value 'welcome to liferay'.
    9. Similarly, perform the above steps with another language such as Hindi, and the value of the urlTitle is changed from custom to hyphen.

    Actual Results: The value of urlTitle is getting changed from custom to blog title when checked from the database.



    Expected Results: The urlTitle should not be changed when it is checked from the database.

Environment

  • Liferay DXP 7.1 fix-pack-dxp-15

Resolution

Additional Information

  • Always upgrade the DXP to the latest update to achieve the expected behavior: Upgrade Basics
  • Please submit a support ticket if you require more information from the product aspect by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide installing the hotfix in the respective environment.
Did this article resolve your issue ?

Legacy Knowledge Base