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 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题