类别

有特色的模板

How to Uninstall and Reinstall WordPress

艾美布朗 2018年8月30日
等级: 5.0/5. 从1票开始.
请稍等...

This tutorial is going to show you how to 卸载 and reinstall WordPress. Re-installation could solve the problem when all other solutions don’t work.

但请记住! WordPress install is not the 第一个 option to solve all the troubles with the 网站. 进行故障排除和 网站 第一次调试. If it falls feel free to start 重新安装ation.

  1. Before doing any updates or 重新安装ation 备份你的网站 第一个. 保存 备份 files on your computer or upload them to any 存储.

    备份 files will not be used for reinstall. But it’s a good idea to have them just in case something goes wrong.

  2. Now you can proceed to the next step, content export. You will be able to restore your posts, 页面, 类别 content from this file.

    • 开放 工具 > 出口 你的WordPress页面 后端.

    • Select all the content 并点击 下载导出文件 button.

    The most likely you did some changes or added custom CSS code to your site 编辑器. To save those settings we recommend exporting them.

    • 导航到 外观 > 定制 页面在您的管理面板.

    • 点击 导出/导入 选项卡 在下一页.

    • 点击 出口 按钮,以导出 网站 content.

  3. content导出准备就绪. 你可以 备份 文件现在. Your theme, plugins, images are located in wp-content 目录 在服务器上.

    To be able to use it for reinstall downloads it to your computer.

    你可以 access your site files from FTP or 文件管理器 在你的 举办 cPanel. Select wp-content, compress and download it to your computer.

    准备好了! 你可以 do WordPress reinstall now.

  4. Now you can 卸载 your WordPress. To do that connect to your server and remove all WordPress files from your site root 目录.

    重新安装需要 数据库 删除. But it’s usually a good decision to create new 数据库 对于你的安装. Almost all 主人s allow to create multiple 数据库.

    • 创建一个新的 数据库 登入你的 cPanel 并点击 MySQL 数据库 选项卡 下 数据库 section.

    • 你会看到新的 数据库 页面. 进入你的新页面 数据库 name 并点击 create button.

    • 滚动到 MySQL 用户 节中添加新的 数据库 用户. Enter 用户name and create/generate password. 别忘了点击 创建用户 button to save the changes.

    • Now you need to assign your 数据库 to the newly created 用户. 在 将用户添加到 数据库 section. 选择您的 数据库 from the 第一个 drop-down and 用户 from the second one.

      点击 添加 button to save the changes.

    • Make sure your 用户 has all privileges on the next stage.

    数据库 现在准备好了.

    WordPress is 卸载ed now. 你可以做下一步了.

  5. It’s turn for a new WordPress install.

    • Download a fresh copy of WordPress at official WordPress 网站.

    • Unzip downloaded file on your computer. You will see folder titled wordpess 在打开的包装内. You will need to upload files from that folder to your site root 目录.

    • Wait while all files are uploaded and visit your 网站. WordPress will ask you to enter 数据库 配置细节.

      填写要求的info:

      • 数据库 名称;

      • 数据库 用户名;

      • 密码;

      • 数据库 主人 (最有可能的是 本地主机).

    • 填好后 数据库 详细info请点击 提交 button. You will see successful message 在下一个屏幕上. 点击 运行安装 继续安装.

      If any errors on this step please contact your 举办 提供者. Ask them to give you valid 数据库 info.

    • Now provide with information line site title, admin panel 用户name and password, 电邮地址,并按 安装WordPress button to initialize WordPress installation.

    • 你可以 log into your WordPress 后端 now using details you entered earlier. WordPress 重新安装ation is ready. Now we will re-import site content

  6. First, you need to restore theme and plugins. To do that connect to your server from FTP or 文件管理器 在你的 cPanel. 去 wp-content 目录.

    Next, you need to upload theme, uploads and plugins folders from 备份 打包到您的wp-content 目录. 覆盖 files that are 在你的 wp-content 目录.

  7. Now, let’s import site content.

    • 开放 工具 > 进口 页面. 点击 现在安装WordPress title.

    • 点击 运行进口国 联系下.

    • Upload your WordPress eXtended RSS (WXR) file and we’ll import the posts, 页面, 评论, 自定义字段, 类别, 并在这个网站上添加标签. 选择一个WXR (.xml) file you exported earlier to upload, then click Upload file and import.

    • It will ask if you want add more authors to the site. 如果只有一个作者 网站 你可以让它保持原样. WordPress will import the authors. 点击 继续 button.

    • Now you will see WordPress 页面 with the imported content. Wait while all the content is imported and check your site.

    记住 编辑器 我们导出的content. It’s time to import it now.

    • 打开相同的 外观 > 定制 在你的页面 后端.

    • Select 导入/导出 选项卡 在下一个屏幕上.

    • 点击 进口 to import the customization settings for this theme.

    • Wait while settings are imported and check your site.

We hope this article was helpful. 更多提示即将到来.

If you are looking for more 网站 building options, check out WordPress主题.

Customizable Wordpress Themes
这个条目被张贴了出来 Monstroid教程, WordPress教程 和标记 重新安装, 卸载. 书签的 永久链接.

提交罚单

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: 提交罚单