Can we add Under Maintenance Mode?

Hey, we had created a web application, but now it needs to have under maintenance feature. So how can I achieve this and is there any plugin for that?

Hello,

There is no feature for maintenance. I think the best way is to create a maintenance page and redirect every other page to this page

1 Like

Hi, you could also restrict all your pages to an empty group of user, so everybody gets redirected to a specific page.

1 Like

How do we do the redirection?

  1. Create a boolean variable “maintenanceMode” with default at false
  2. In your back office, add a switcher bind to “maintenanceMode” value
  3. add a on change workflow to the switcher in order to change maintenanceMode variable
  4. add general workflow, “on page load, before fetch collection”.
  5. In this workflow a pass through condition bind to your maintenanceMode Variable
  6. add a change page action and select your maintenance page

At this time, when you change maintenance mode to true in your back office, all user will be directed to the maintenance page.

2 Likes