What is the problem you are trying to solve?
Liferay Redirects currently allow administrators to create, enable, disable, and remove redirect rules, but they do not support scheduled activation and expiration based on a predefined validity period.
This limitation creates operational challenges when organizations need temporary redirects that should only be active during a specific time window. Administrators must manually enable and disable redirects at the exact required times, which increases operational risk, requires out-of-hours support, and can lead to service disruptions if a redirect is forgotten or activated late.
A common use case is planned maintenance of a specific application or functionality. For example, during a scheduled maintenance window, users accessing a temporarily unavailable service should be automatically redirected to an information page explaining the outage. Once the maintenance window ends, the redirect should be automatically removed without requiring manual intervention.
What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc)
Secure online banking and customer self-service portal built on Liferay DXP.
The portal provides authenticated access to banking services and business-critical functionality. Availability of individual services occasionally needs to be controlled during planned maintenance windows, regulatory activities, releases, or temporary service outages. Temporary redirects are therefore required to guide users to informational or maintenance pages while minimizing operational effort and risk.
What is your proposed solution? (optional)
Enhance the Redirects application by introducing scheduling capabilities for redirect rules:
• Valid From (date and time)
• Valid To (date and time)
• Automatic activation when the Valid From date is reached
• Automatic expiration/deactivation when the Valid To date is reached
• Optional timezone selection and display
• Visibility in the Redirects administration UI showing Scheduled, Active, and Expired states
Example:
Source URL: /instant-payments
Target URL: /maintenance/instant-payments
Valid From: 2026-09-15 00:00
Valid To: 2026-09-15 04:00
The redirect would automatically become active at midnight and automatically expire at 04:00 without administrator intervention.
This enhancement would benefit not only maintenance scenarios but also temporary campaigns, seasonal content, migration activities, phased rollouts, legal notices, and time-limited business events. It would reduce operational overhead, eliminate manual scheduling tasks, and make Liferay Redirects significantly more powerful for enterprise environments.