0

I want to redirect to the maintains page. Can anyone let me know how can we redirect it from admin panel?

  • Please confirm your Magento version. You have mentioned magento-1.9 and magento2 both. – Mohit Kumar Arora Jul 24 '18 at 9:44
  • I'm using magento 2.2.3 – user3737063 Jul 24 '18 at 12:35
  • Can you explain a bit more about your problem? – Mohit Kumar Arora Jul 24 '18 at 12:39
0

It is not possible from admin panel (correct me if I'm wrong), however, you can enable the maintenance mode by creating a .maintenance.flag file in var/pub; if you have FTP access.

If you want to exclude some IP's, you need to create a file called .maintenance.ip with a list of IP's that can be except from maintenance mode.

You can also set the maintenance mode using the following command:

magento maintenance:enable

Reference: https://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-maint.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.