.
This is a guest article written by the editor of Prawle.org Juliet Jones. If you want to write a guest article on our blog, please contact us at any time.
The maintenance mode will help you work calmly behind the scenes, and at the same time show the visitors to the user friendly notification.
So, what is the WordPress maintenance mode and how to use it on your website? In this article, we will help you understand the correct way to place WordPress in maintenance mode.
Why and when the wordpress is placed in the maintenance mode
Let us learn the basic knowledge. WordPress maintenance mode is a message that you use to notify users about your website maintenance. You can add the expected time for the website to go online on this page.
Please keep in mind , you don’t have to publish new content, perform small adjustments or adjust or adjust or make small adjustments or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust or adjust it When updating the plug -in or theme, your website is placed in the maintenance mode .
However, with the growth of your website, changes may be a lot, it takes longer, and it takes longer stop time. During this period, your website may be damaged to the visitor. If your website has a lot of traffic, then you don’t want to cause a bad user experience.
The damaged website will leave an wrong impression on your brand
.
Please remember, you still need to establish a maintenance page in WordPress in a short time in a short time in a short time To understand what is happening. If you do not use temporary sites, you need to enable maintenance mode because you apply changes on the real -time website. This allows you to solve the problem you may face.
Knowing this, let’s study how to easily set your WordPress website as a maintenance mode.
Option 1: Use code to activate the default maintenance mode
If your website needs short -term shutdown (less than an hour), you may want to avoid the trouble of setting a custom maintenance mode page.
You can use WordPress default maintenance mode page
, letting users know that you will return soon.
The first step is to activate the maintenance mode by the theme editor transferred to WordPress. It is located under the
appearance.
The second step is to open
Functions.php
file or theme function. Click the file to open it in the code editor.
Edit the functions.php
123]
Functions.php.If you are willing, you can customize your maintenance message, and then click \”
update file\”. Always confirm the maintenance mode by opening WordPress in the new browser or canceling and accessing the website.
Do not forget to turn off the maintenance mode after completion. For this reason, you can delete the code added to the
Functions.php file.
Options 2: Use WordPress plug -in
Fix an error or to reshape the website may require a longer shutdown time
, which may allow visitors to see gray The page is boring. Leaving the default WordPress message may not leave a good impression.
A
WordPress maintenance plug -in will help you place something more attractive . Not only will you have a beautifully designed page, but you can also provide more detailed information about the upcoming things or leave contact information.
First, you need to and install the WP maintenance mode plug -in. After activation, enter Settings »WP maintenance mode and configure the plug -in settings. The setting of the plugin is divided into five tabs.
WP maintenance mode plug -in
Conventional tab
The first option under the conventional option card is the status, and set up by default To stop. To set your WordPress to maintenance mode, set it to \”activated\”. If you want the search engine to access your search website during maintenance, set the \”bypassing the search robot\” option.to select users who access the front or back -end when the website is in the maintenance mode
. Only set as administrators by default.
Design
If you want to create an attractive page, then this is a tab to click. On the title option (HTML label), you can add page title, title and text.
After setting the message, you can customize the maintenance page background. You can choose to change the color and even use the image as the background. Module If you want the visitor to know when your website starts, can set the countdown timer in this tab
. In addition, you can ask your user to subscribe and receive notifications when you start and run on the website. These visitors will receive a notification through the plug -in, and they will not subscribe to your email marketing list.
In addition, in the \”Module\” tab, you can add a link to your social network. Enter
Your social media data URL
, the plug -in will automatically
display the social media button icon .
Manage the robot
Using this tab, you can add the chat robot to your page. This tab will allow you to keep interactive exchanges with visitors during the maintenance of the website. You can even give the robot a avatar to make it more attractive. GDPR tab
If you ask your website visitor to subscribe to your page, or
You are collecting user data through the registry in the maintenance mode, then you need to set your GDPR tab
.Switch to the GDPR tab on the plugin setting page and enable the privacy module.
Please remember to press the save settings button and visit your website in the new browser.You guess what happened!You will see the upcoming or maintenance mode page. After completing maintenance, you can turn off the maintenance mode by clicking the disable button . Conclusion That’s only!You now know how to manually and use the plug -in to put WordPress in maintenance mode.