1、找到WordPress站点,在网站根目录找到 .maintenance文件,删除即可!
2、上面的方法如果不行,也行你想让它以后可以显示 .maintenance ,找到/wp-admin/includes/class-wp-filesystem-direct.php以下代码:

function mkdir($path, $chmod = false, $chown = false, $chgrp = false) {// safe mode fails with a trailing slash under certain PHP versions.$path = untrailingslashit($path);if ( empty($path) )return false; if ( ! $chmod )$chmod = FS_CHMOD_DIR; if ( ! @mkdir($path) )return false;$this->chmod($path, $chmod);if ( $chown )$this->chown($path, $chown);if ( $chgrp )$this->chgrp($path, $chgrp);return true;}

改成

function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { // safe mode fails with a trailing slash under certain PHP versions. if ( ! $chmod ) $chmod = $this->permission; if(ini_get('safe_mode') && substr($path, -1) == '/') { $path = substr($path, 0, -1); } if ( ! @mkdir($path) ) return false; $this->chmod($path, $chmod); if ( $chown ) $this->chown($path, $chown); if ( $chgrp ) $this->chgrp($path, $chgrp); return true;}

刷新FTP目录,找到到.maintenance文件,删除即可