To disable maintenance mode

Connect Asia Data learn, and optimize business database management.
Post Reply
surovy113
Posts: 299
Joined: Sat Dec 21, 2024 3:23 am

To disable maintenance mode

Post by surovy113 »

How to put a site under maintenance on WordPress icon 128x128 1 3
Minimal Coming Soon : A free plugin with a pro version that allows you to create a minimalist and responsive maintenance page, with an intuitive interface and a wide choice of fonts, colors, backgrounds and images. You can also insert your custom CSS code and set access rules for different user roles.
To use one of these plugins , you simply need to install and activate it from your WordPress admin panel, then access its settings and configure the maintenance page to your liking.

Once ready, you can activate maintenance mode and your site will be replaced by the page you created.

site-under-maintenance-wordpress
Edit the functions.php file
Another way to put your site into maintenance on WordPress is to edit your theme's functions.php file, adding a custom function that creates a .maintenance file in the root of your site.

This file tells WordPress to display a default maintenance message on the front end of your site that says “Site temporarily unavailable for maintenance. Please try again in a minute.”

To use this method, you need to access the functions.php file via FTP or from your WordPress admin panel, then add the following code to the end of the file:

This code makes maintenance mode visible only to users who are not logged in or do not have the administrator role, so you can continue working on your site without problems.

you simply need to remove the code from your functions.php file.

If you want to customize the maintenance message , you can change the text and title that international mailing list appear in the wp_die() function.

If you also want to customize the look of the page , you can create a maintenance.php file in the wp-content folder of your site, where you can insert the HTML and CSS code you prefer.

Create a static HTML page
A third way to put your site into maintenance on WordPress is to create a static HTML page that replaces your site while you are working.

This method requires a little more technical expertise, but gives you more flexibility and control over the design and content of your maintenance page .

To use this method, you need to follow these steps.
Post Reply