How to Enable/Disable Maintenance Mode in Magento 2
Enable or disable maintenance mode using CLI
Use Magento
maintenance CLI command to enable or disable Magento maintenance mode.
magento maintenance:enable [--ip=<ip address> ... --ip=<ip address>] | [ip=none]
magento maintenance:disable [--ip=<ip address> ... --ip=<ip address>] | [ip=none]
magento maintenance:status
where
--ip=<ip address> is an IP address to exempt from maintenance mode (for example, developers doing the maintenance). To exempt more than one IP address in the same command, use the option multiple times.magento maintenance:status displays the current status of maintenance mode.
For example, to enable maintenance mode with no IP address exemptions:
magento maintenance:enable
To enable maintenance mode for all clients except 192.0.2.10 and 192.0.2.11:
magento maintenance:enable --ip=192.0.2.10 --ip=192.0.2.11
After you place Magento in maintenance mode, you must stop all message queue consumer processes. One way to find these processes is to run the
ps -ef | grep queue:consumer:start command. Then run the kill <process_id> command for each consumer. In a multiple node environment, be sure to repeat this task on each node.Maintain the list of exempt IP addresses
To maintain the list of exempt IP addresses, you can either use the
[--ip=<ip list>] option in the preceding commands or you can use the following:magento maintenance:allow-ips <ip address> .. <ip address> [--none]
where
<ip address> .. <ip address> is an optional space-delimited list of IP addresses to exempt.--none clears the list.Enable/Disable Maintenance Mode in Magento 2 using Extension
When your Website is not Live or you are going through maintenance you still have to engage with visitors/customers. Magento 2 Maintenance & Coming Soon Mode by FME is a tool to preserve the interest of your visitors in this situation. This will encourage the visitors to revisit your Website.
This is a good source to inform your visitors about the
current status of your Website.
By using this extension you can display an attractive and
engaging Coming Soon Page. You can add
media to the page. Image and Video work as a background content.
Show an exact Time and Date by running a Countdown Timer on
Coming Soon & Maintenance Page. You can easily customize text and labels to
make it more easy to understand.
This extension Magento 2 Maintenance Mode Extension allows you to switch between 3 modes.
·
Activate Live Mode
·
Enable a Coming Soon Page
·
Enable Maintenance Mode
Magento 2 Coming Soon
Features
·
Configure Launch Settings
·
Customize Text and Labels
·
Define Site Restrictions
·
Maximize Social Exposure
·
Add Metadata for higher SEO score
·
Select a Background Style
·
Enable Subscription
Magento 2 Maintenance
Mode Features
·
Select a Launch Date & Time
·
Enable auto-switch to Live mode
·
Show countdown timer
·
Specific time to Auto-refresh the page
·
Choose an HTTP Response Header
·
Personalize Text and Labels
·
Choose a background style
You can add media and customize them also. You can
·
Write a custom media title
·
Select media type
·
Upload files or enter URLs
·
Assign media to a Website mode
·
Add new media or delete the existing one
You can display Social Media Links on Magento 2 Coming Soon
& Maintenance Mode Page to engage visitors on Social Media when your
Website is not Live.
While you are working on your Website you can still give access visitors to your Website. You have to assign an IP from Back-end and visitors can bypass the Coming Soon Mode and land on your Website.
You can also give access to the CMS Page only to your Website.
Powerful Key Features
1.
3 Website Modes- Live, Coming Soon, Maintenance
Mode
2.
Enable Coming Soon Page with User Sign-up Form
3.
Activate Maintenance Mode with Countdown Timer
4.
Add Media to Coming Soon & Maintenance Mode
Page
5.
White-List Website Traffic with Respect to IP
Addresses
6.
Display Social Links to Keep Customers Engaged
7.
Option to Allow Visitors to Access CMS Pages





Comments
Post a Comment