1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Manage website maintenance mode
This guide explains how to turn on or off the mode maintenance on a website of a Accommodation Infomaniak.
Preamble
- The maintenance mode allows you to display a personalized message to your visitors, e.g. during the resolution of a technical problem.
- It is also possible to specify IP addresses that can bypass this page.
- An e-mail is sent to the users of the Organization.
Enable maintenance mode
To activate a page that temporarily replaces your usual home page:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the nameallocated to the product concerned.
- Click the toggle switch button for enable the maintenance page:
- Confirm the maintenance activation.
Customize the maintenance page
To set up a page with the message of your choice:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the nameallocated to the product concerned.
- Click on Page and Maintenance in the left side menu.
- Click on Create Page or on the button Customize if it already exists:
- Lay out the text of your choice.
- Configure View using the elements on the right.
- Click on Save so you won't lose your edits while editing.
- Click on Save & Enable to publish the page:
Allow IP addresses
It is possible to display a site even with the maintenance mode. To do this, it is necessary to provide the IP addresses of computers that must be able to bypass the maintenance mode:
- Activate the maintenance mode according to the above procedure.
- Go to the maintenance page configuration page (see procedure above)
- Under Maintenanceon the right, click on Insert my IP address to allow your computer to display the site without maintenance mode.
- It is also possible to manually enter the IPs to be allowed.
- Click on Save and Publish.
Disable maintenance mode
To disable the message that appears on your site during maintenance:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the nameallocated to the product concerned.
- Click either on the button Disable or on the toggle switch button for disable the maintenance page:
- Confirm the deactivation of maintenance.
Alternative method for WordPress
It is not recommended to activate the Infomaniak maintenance page above to then work in WordPress.
It is recommended to install a WordPress extension (There are dozens of them.) dedicated to maintenance within CMS itself.
If not, you can add the code <?php $upgrading = time(); ?>
in a new empty file named .maintenance
(the point before the file name is important) placed on the server at the root of your site, which disable all your pages except the WordPress homepage.