Drupal 7 Enable/Disable Maintenance Mode

To disable maintenance mode in drupal 7.x run the command

drush vset maintenance_mode 0

Example

$ drush vset maintenance_mode 0
maintenance_mode was set to 0.   [success]
$

To Enable Maintenance mode, run

drush vset maintenance_mode 1

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *