studiometa / create-wordpress-project

A generator to kickstart your WordPress project in a few seconds! ⚡
MIT License
6 stars 3 forks source link

Maintenance mode #81

Open lusimeon opened 3 years ago

lusimeon commented 3 years ago

Put your site under maintenance with a 503 HTTP status and a dedicated page.

  1. The following server environment variables must be set in order to the maintenance be active:
    MAINTENANCE_ENABLED=true|false # Enable/Disable maitenance mode.
    MAINTENANCE_IPS=42.42.42.42.42 # Exclude a list of IPs from maitenance.
  2. Customize the maintenance page thanks to maintenance.php and maintenance.css files.

Closes #29

perruche commented 3 years ago

Great addition !

Should we design the maitenance page to have a generic, simple nice looking page ?

perruche commented 2 years ago

Kind of an old merge request but can/should this be merge ?

lusimeon commented 2 years ago

Yes, I'll take time to fix last feedback this week

lusimeon commented 2 years ago

106 rework project structure, so wait #106 to be merged before merging this one.