Open mythnc opened 4 years ago
First, thank you sharing this technic. I learn a lot of from these codes and articles.
I wonder instead of using Nginx setting and maintenance html files, how about changing maintenance mode by using wp-cli?
ref https://developer.wordpress.org/cli/commands/maintenance-mode/
Method2 https://wordpress.stackexchange.com/questions/211303/wp-cli-enabling-maintainance-mode
First, thank you sharing this technic. I learn a lot of from these codes and articles.
I wonder instead of using Nginx setting and maintenance html files, how about changing maintenance mode by using wp-cli?
ref https://developer.wordpress.org/cli/commands/maintenance-mode/