duanming7833 2017-12-23 10:14
浏览 70
已采纳

使用GoDaddy cPanel将wordpress站点从localhost移动到实时服务器

I'm using GoDaddy cPanel hosting to move my site from localhost. It's the first time I've done this and I've hit a dead end. I've followed the instructions from these instructions. I've used duplicator as a back-up whilst developing but I didn't use it for the FTP process.

I'm pretty sure there's a step in the process I'm missing but I can't spot it. I exported the database on localhost, created a new one in cPanel, imported across the localhost one. All the files are in the file manager portal but I'm not sure they're in the right place. The file trail is /home/cPanellogin/public_html/files - is this correct?

I've updated the wp-config file -

define('DB_NAME', 'new cPanel db name');

/** MySQL database username */
define('DB_USER', 'cPanel db user');

/** MySQL database password */
define('DB_PASSWORD', 'cPanel db password');

/** MySQL hostname */
define('DB_HOST', 'localhost');

The site link is here. I've never done this before so I'm pretty sure I'm missing some steps, any assistance would be really appreciated.

  • 写回答

1条回答 默认 最新

  • du3669 2017-12-23 11:47
    关注

    Move these ( home.html / layout styles.css / 404.shtml ) away in a folder for backup

    enter image description here

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

报告相同问题?

悬赏问题

  • ¥15 wamp3.3.5安装完成后图标正常显示绿色,鼠标左右键点击图标均无反应。求解决方法。
  • ¥15 鼠标点击的这条记录了什么?
  • ¥15 在写pid调速的程序时,电机始终维持最大速度
  • ¥15 帅锅们,我很想知道这个论坛是用什么模板搭的(T_T)
  • ¥15 请问如何查看手机root记录?
  • ¥15 商城小程序订单号重复
  • ¥15 学校优化算法sbo和蚁群算法怎么结合
  • ¥21 matlab怎么求时域信号的二阶导数
  • ¥15 判断两个表是否完全相同
  • ¥15 java map类型数据格式,如何快速通过前缀匹配元素