How to fix briefly unavailable for scheduled maintenance

     

Are you seeing the ‘Briefly unavailable for scheduled maintenance’ error in WordPress? This error usually appears while updating WordPress core, plugins, or themes.

Basically, your WordPress site fails to lớn finish the update which leaves you stuchồng in the maintenance mode.

In this article, we will show you how to lớn easily fix the “Briefly unavailable for scheduled maintenance” error in WordPress. We will also show you why this error occurs & how you can avoid it in the future.

*

Why Does The WordPress Maintenance Mode Error Occur?

Maintenance mode page is technically not an error. It is a notification page.

During the update process, WordPress downloads necessary update files lớn your VPS, extract them & then install the update.

WordPress also puts your site on maintenance mode and displays the “Briefly unavailable for scheduled maintenance. Cheông xã baông xã in a minute.” notice during the process.

Bạn đang xem: How to fix briefly unavailable for scheduled maintenance

*

To trigger the maintenance mode notification, WordPress creates a temporary .maintenance tệp tin in your website’s root thư mục.

If everything works normally, then this notice will probably be displayed for only a few seconds. After the successful update, WordPress will automatically delete the maintenance file lớn disable maintenance mode.

However, sometimes due to lớn a slow WordPress hosting hệ thống response or low memory issue, the update script will timeout thus interrupting the process. When this happens, WordPress does not get a chance to lớn take your site out of maintenance mode.

In other words, your site will continue showing the maintenance mode notice, và you will need khổng lồ manually fix it.

How to lớn Fix WordPress Maintenance Mode Error?

To get your website out of maintenance mode, all you really need khổng lồ vày is delete the .maintenance tệp tin from your site’s root thư mục using FTPhường.

*

If you can’t find the .maintenance file in your WordPress root directory, then make sure you checked your FTPhường client to lớn show hidden files.

In Filezilla, you can force it khổng lồ show hidden files by clicking on Server » Force showing hidden files from the thực đơn bar.

*

Once the .maintenance tệp tin is removed, your site will come out of maintenance mode, và the error should be fixed.

If you don’t know how to lớn use FTPhường., then you can also remove the files by going to the tệp tin manager in your WordPress hosting control panel, & then deleting the .maintenance file inside the tệp tin manager.

How khổng lồ Avoid WordPress Maintenance Mode in the Future?

We already know that the “Briefly unavailable for scheduled maintenance” error is caused by slow server response or low memory issue on your website hosting server.

The easiest way to avoid this error is by upgrading lớn a higher hosting plan. We recommover going with one of these managed WordPress hosting companies that offer superior hosting performance.

If upgrading to lớn a higher hosting plan is not an option, then we recommend doing plugin and theme updates one at a time.

Xem thêm: Bật Mí: 3 Cách Thu Nhỏ Màn Hình Laptop Win 7, Win 10 Từ A, Cách Phóng To Và Thu Nhỏ Màn Hình Máy Tính Win 7

Often users have sầu a tendency of quickly clicking on the update link underneath each plugin. WordPress then staggers the update order, but even a millisecond of delay in connection could cause a conflict leading your site to be stuchồng in maintenance mode.

*

Instead of quickly clicking on the Update liên kết, we recommover patiently updating one plugin at a time.

How to lớn Customize Maintenance Mode Notification

An easier solution khổng lồ avoid showing the default maintenance mode notification is by manually putting your WordPress site on maintenance mode before installing any updates.

The best way khổng lồ bởi vì this is by installing và activating the SeedProd plugin. It is the most popular maintenance mode plugin for WordPress. For more details, see our step by step guide on how lớn install a WordPress plugin.

Upon activation, go to Settings » Coming Soon Pro page và kiểm tra the box next to ‘Enable maintenance mode’ option.

*

After that, you need to clichồng on ‘Edit Coming Soon/Maintenance Page’ button. This will open the SeedProd theme customizer. From here you can choose a theme và then customize it lớn create a beautiful maintenance mode page for your trang web.

*

Now, if you don’t want khổng lồ manually put your trang web in maintenance mode every time you update, then you can create a maintenance page in WordPress without using a plugin.

Simply create a new file called maintenance.php on your desktop and paste this code inside it:


Chuyên mục: Domain Hosting