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 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了