1000 FAQ, 500 Anleitungen und Lernvideos. Hier gibt es nur Lösungen!
Wartungsmodus für Websites verwalten
This guide explains how to activate or deactivate the maintenance mode on a website hosted by Infomaniak.
Introduction
- Maintenance mode allows you to display a personalized message to your visitors, for example, while resolving a technical issue.
- It is also possible to specify IP addresses that can bypass this page.
- An email is sent to the users of the Organization.
Activate Maintenance Mode
To activate a page that temporarily replaces your usual homepage:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on the toggle switch to activate the maintenance page:
- Confirm the activation of maintenance mode.
Customize the Maintenance Page
To set up a page with your desired message:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Page and Maintenance in the left sidebar.
- Click on Create a Page or on the Customize button if it already exists:
- Format the text of your choice.
- Configure the display using the elements on the right.
- Click on Save to avoid losing your changes while editing.
- Click on Save & Activate to publish the page:
Allow IP Addresses
It is possible to display a site even with maintenance mode on. To do this, you need to specify the IP addresses of computers that should be able to bypass maintenance mode:
- Activate maintenance mode as per the procedure above.
- Go to the configuration page of the maintenance page (see procedure above).
- Under Maintenance on the right, click on Insert my IP address to allow your computer to view the site without maintenance mode.
- It is also possible to manually enter the IPs to be authorized.
- Click on Save and Publish.
Disable Maintenance Mode
To disable the message that appears on your site during maintenance:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Either click on the Disable button or the toggle switch to disable the maintenance page:
- Confirm the deactivation of maintenance mode.
Alternative Method for WordPress
It is not recommended to enable the Infomaniak maintenance page above to then work within WordPress.
It is recommended to install a WordPress plugin (there are dozens of them) dedicated to maintenance within the CMS itself.
Alternatively, you can add the code <?php $upgrading = time(); ?>
in a new empty file named .maintenance
(the dot before the file name is important) placed on the server at the root of your site, which will disable all your pages except the homepage of WordPress.