Create a custom maintenance page
Learn how to make your site visitors aware of any ongoing maintenance on the project.
Last updated
Learn how to make your site visitors aware of any ongoing maintenance on the project.
Last updated
A maintenance page will be shown when an Umbraco project is running an upgrade. This prevents visitors from landing on an upgrade page or seeing content meant for project maintainers.
The following guide will take you through the steps to customize and brand the default maintenance page.
Go to the root of your Umbraco project files.
Create a new folder called UmbracoWebsite
, and open it.
Add a new file called maintenance.cshtml
.
Add your custom markup to the file.
Keeping the Umbraco project in Upgrade mode for a longer time is not recommended. Most migrations can be executed while the website continues to work.
As most upgrades can be done without the website having to restart or go down, the maintenance page can be disabled.
Open the project appSettings.json
file.
Add the following configuration: