Legacy Knowledge Base
Published Sep. 10, 2025

URL redirection between sites in Liferay DXP 7.4

Written By

Madhusudan Sharma

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

  • After migrating from Liferay DXP 7.3 to DXP 7.4, URL redirection rules defined in rewriteurl.xml (no longer supported in 7.4) and through .config files stopped working.
  • Liferay’s built-in redirection settings only handle site-level redirections and do not support redirection for URLs that include paths beyond the context path.
  • How to apply redirection globally so that the URLs can be redirected between sites within the instance?
  • Additionally, is there any way to perform URL rewriting using an out-of-the-box feature?

Environment

  • Liferay DXP 7.4

Resolution

  • As per this article, the redirection of URLs via urlrewrite.xml is no longer supported in Liferay DXP 7.4.
  • To apply URL redirection between sites, we can utilize Liferay's out-of-the-box feature i.e. Alias Redirects.
  • Liferay's built-in redirection does not support URL rewriting or complex parameterized URL redirection. To achieve this, configure redirection rules at the web server level. For Apache, use the `mod_rewrite` module in the web server's configuration file. See Apache Module mod_rewrite for more information.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base