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.moderedirect.url.domains.allowedredirect.url.ips.allowed
Go to Global Menu () > Control Panel > Instance Settings > Pages > Redirect URLs and set the following configurations:
- Security Mode
- Allowed Domains
- Allowed IPs