dongmo2324 2014-12-07 14:18
浏览 23
已采纳

在另一个主机上安装Wordpress

Here's my scenario:

  1. I have to move a Wordpress site hosted on server A to server B. But I do not have the Wordpress admin login details.
  2. I have control of hosting server A as well as B
  3. I have also the FTP access for Server A
  4. I have exported the database from Server A but do not have the username or password for the database.

Is it possible to move the Wordpress site to server B ?

  • 写回答

1条回答 默认 最新

  • dongmian8108 2014-12-07 18:23
    关注

    You need to first transfer the files via FTP, which is easy enough. Then you'll have to upload the copy of the database to server B, usually via phpMyAdmin. This is where you'll have problems; you'll need the database connection details in order to do this. Once you've done that you'll need to update wp-config.php to match the new database details. Finally, if it is a new domain, you'll need to update a few fields in the wp_options table and all the guid values in the wp_posts table. This can be done using the SQL REPLACE() function. See here for more details.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 一个服务器已经有一个系统了如果用usb再装一个系统,原来的系统会被覆盖掉吗
  • ¥15 使用esm_msa1_t12_100M_UR50S蛋白质语言模型进行零样本预测时,终端显示出了sequence handled的进度条,但是并不出结果就自动终止回到命令提示行了是怎么回事:
  • ¥15 前置放大电路与功率放大电路相连放大倍数出现问题
  • ¥30 关于<main>标签页面跳转的问题
  • ¥80 部署运行web自动化项目
  • ¥15 腾讯云如何建立同一个项目中物模型之间的联系
  • ¥30 VMware 云桌面水印如何添加
  • ¥15 用ns3仿真出5G核心网网元
  • ¥15 matlab答疑 关于海上风电的爬坡事件检测
  • ¥88 python部署量化回测异常问题