简体   繁体   English

将 Wordpress 站点从一台服务器移动到另一台服务器时出现问题

[英]Problem moving Wordpress site from one server to another

I moved an existing wordpress site from one server to another.我将现有的 wordpress 站点从一台服务器移动到另一台服务器。

But when I run it shows database connection error.但是当我运行它显示数据库连接错误。

In which file do we specify new database related information in Wordpress?我们在Wordpress中的哪个文件中指定新的数据库相关信息?

Please let me know.请告诉我。

Thanks!谢谢!

Database configuration details are located in wp-config.php in the root Wordpress directory.数据库配置详细信息位于根 Wordpress 目录中的wp-config.php中。

Here is the official how to for doing this.这是官方的如何做到这一点。 You'll need to move the files, the database, and likely you'll have to change the hostname in wp-config.您需要移动文件、数据库,并且可能必须在 wp-config.xml 中更改主机名。

http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将 WordPress 站点从一台服务器移动到另一台服务器 - Moving WordPress site from one server to another 将PHP站点从一台服务器移动到另一台服务器 - Moving PHP site from one server to another 将站点从服务器移动到另一个站点后,WordPress重定向给出404 - WordPress redirection gives 404 after moving site from a server to another 从一台服务器移到另一台服务器时,WordPress网站重定向错误 - Wordpress site redirect error while move from one server to another 将Wordpress网站从Wamp服务器移动到Mamp服务器 - Moving wordpress site from wamp server to a mamp server 使用GoDaddy cPanel将Wordpress网站从本地主机移动到实时服务器 - Moving wordpress site from localhost to live server using GoDaddy cPanel 将Wordpress网站从Nginx移至专用服务器Windows - Moving wordpress site from Nginx to Dedicated Server Windows 将站点从本地主机移动到实时服务器时出现 Wordpress 错误 - Wordpress error while moving site from localhost to live server 将我的Codeigniter站点从实时服务器移动到本地主机时出现问题 - Problem in moving my Codeigniter site from live server to localhost 将WordPress网站的更新版本从QA Server移到Live Server的实时站点 - Moving updated version of WordPress site into live site from QA Server to Live Server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM