How to Cancelling WordPress 3.0 Maintenance Mode?

Tonight I’ve try to update my WordPress Plugins, the WP e-Commerce on my system is not the latest stable. But some problem happen when I try to update it. Apparently my hosting in the period don’t support any request of WordPress script. Astaghfirullah, so My WordPress system on Maintenance mode now.

Since WordPress 3.0 beta, the WordPress introducing a Maintenance mode while upgrading the Core or the Plugins. The built-in script on WordPress API is like this:

if ( file_exists(ABSPATH . '.maintenance') && !defined('WP_INSTALLING') ) {
	include(ABSPATH . '.maintenance');
	// If the $upgrading timestamp is older than 10 minutes, don't die.
	if ( ( time() - $upgrading ) < 600 ) {
		if ( file_exists( WP_CONTENT_DIR . '/maintenance.php' ) ) {
			require_once( WP_CONTENT_DIR . '/maintenance.php' );

		$protocol = $_SERVER["SERVER_PROTOCOL"];
		if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
			$protocol = 'HTTP/1.0';
		header( "$protocol 503 Service Unavailable", true, 503 );
		header( 'Content-Type: text/html; charset=utf-8' );
		header( 'Retry-After: 600' );
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<h1>Briefly unavailable for scheduled maintenance. Check back in a minute.</h1>

So, any method to canceling this mode? It’s quite easy, just remove the .maintenance file on your wordpress root directory. Login with your FTP account to your hosting, open the Web-based File manager and delete the .maintenance file.

Gotta error? Please discuss here.

Wagiman Wiryosukiro

Petani Sistem Informasi, tukang las plugin & themes Wordpress. Co-Founder Saat ini aktif sebagai Developer & kontributor di OpenMandriva Linux.

You may also like...

1 Response

  1. sulistyo says:

    Glad, finally you make it..

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: