Legacy Knowledge Base
Published Sep. 10, 2025

Changing locale using the Language selector in a private page redirects to a 404 error page

Written By

Ahmed Abdin

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 have an issue with the use of the language selector in a private page. When I try to change the locale using the language selector, I get redirected to a 404 error page.

Reproduction Steps:

  1. Start 2024.q1.17.
  2. Enable Private Pages feature from: Control Panel --> Configuration --> System Settings --> Release Feature Flags
  3. In the default site, go to Site Builder --> Pages, add a private page, and add to it a Language Selector widget.
  4. View the page and try to select another locale from the language selector.

Expected Result: The language is switched successfully.

Actual Result: I get redirected to a 404 error page.

Environment

  • Liferay Quarter Release 2024.q1.17

Resolution

  • The case has been fixed by LPD-26175. Kindly upgrade to 2024.q2.3 or request a hotfix.
Did this article resolve your issue ?

Legacy Knowledge Base