[wordpress]wordpress升级失败解决办法


从很早开始,Wordpress就一直提升升级失败。最近站点被植入了木马程序只好重新安装。

重装之前那使用Duplicator插件导出之后可以很方便再次导入,浏览信息,图片等都会保存。

为了安全,不得不考虑升级Wordpress版本,过程中要不就是ftp登录不上,要不就是提示解码失败。于是开始寻找其他方案,没想到如此简单。

下载最新版之后解压到临时目录中,将wp-content目录删掉之后,其他所有文件及目录覆盖到原始wp目录。这样,再次登录之后会弹出更新数据库,点击确定即可完成升级。

You can also use the same methord to upgrade the Themes or other plugins. For example, if you want to upgrade one of you themes, just download the latest version and unzip is to wp-content/themes/. After refreshing, the new theme will appear in your site.