Question

I am about to make a server switch for my site https://www.magento2.com from Apache to Nginx and during for this operation i want set up maintenance mode. The server where I want to set up this mode is with Apache and my Magento version is 2.3.5 p1. How can I set maintenance mode and total redirect to my custom page: "maintenancepage.html"?

Thanks for any help

Was it helpful?

Solution

You need to be in developer mode but you can style your maintenance pages by simply adding

maintanence.html in your root directory and style it like any custom html page

  • You have to be in production mode though it wont work in devleoper mode

See the docs here

https://devdocs.magento.com/guides/v2.4/comp-mgr/trouble/cman/maint-mode.html

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top