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

时间:2017-12-23 10:14:34

标签: php mysql wordpress hosting

我使用GoDaddy cPanel托管从localhost移动我的网站。这是我第一次这样做,而且我已经走到了尽头。我已按照这些instructions的说明进行操作。我在开发过程中使用了复制器作为备份,但我没有将它用于FTP进程。

我非常确定在我失踪的过程中迈出了一步,但我无法发现它。我在localhost上导出了数据库,在cPanel中创建了一个新数据库,在localhost中导入了一个。所有文件都在文件管理器门户中,但我不确定它们是否在正确的位置。文件路径是/ home / cPanellogin / public_html / files - 这是正确的吗?

我已经更新了wp-config文件 -

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');

网站链接为here。我以前从未这样做过,所以我很确定我错过了一些步骤,任何帮助都会非常感激。

1 个答案:

答案 0 :(得分:1)

将这些(home.html / layout styles.css / 404.shtml)移到备份文件夹

enter image description here

相关问题