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

问题描述 投票:0回答:1

我正在使用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。我以前从未这样做过,所以我很确定我错过了一些步骤,任何帮助都会非常感激。

php mysql wordpress hosting
1个回答
1
投票

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

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.