Knowledge Base
Published Sep. 10, 2025

Deprecated "Redirect URL" Portal Properties

Written By

Jorge Diaz

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.

Issue

Migrating from Liferay 7.2 to Liferay 7.4, we noticed that the usual redirection properties have been deprecated.

We're using these properties in the portal-ext.properties file:

redirect.url.security.mode=domain
redirect.url.domains.allowed=url1.com, url2.com,url3.com

However, we're getting the following errors during startup:

ERROR [main][VerifyProperties:172] Portal property "redirect.url.domains.allowed" is obsolete
ERROR [main][VerifyProperties:172] Portal property "redirect.url.security.mode" is obsolete

What can we use instead of the obsolete properties?

Environment

  • DXP 7.4

Resolution

The following redirect URL portal properties were deprecated and moved to the Instance Settings menu in the DXP 7.4 release:

  • redirect.url.security.mode
  • redirect.url.domains.allowed
  • redirect.url.ips.allowed

Go to Global Menu (Global Menu) > Control Panel > Instance Settings > Pages > Redirect URLs and set the following configurations:

  • Security Mode
  • Allowed Domains
  • Allowed IPs

Additional Information

Did this article resolve your issue ?

Knowledge Base