Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将wordpress从子域转移到主域_Wordpress - Fatal编程技术网

将wordpress从子域转移到主域

将wordpress从子域转移到主域,wordpress,Wordpress,我想将同一服务器上的wordpress网站从子域转移到主域。。。 我有godaddy的服务器 以前我试过这个 我的wordpress网站位于链接子域下,但在完成所有操作后,我想将该网站转移到主域/我只需将所有文件从移动文件夹移动到主域。。在wp_选项表下的数据库中,将该url替换到主域,并在wp_posts表中搜索n replace到url主域,但未发生任何问题请告诉我如何继续执行这些附加步骤: 1. Administration > Settings > General 2. ch

我想将同一服务器上的wordpress网站从子域转移到主域。。。 我有godaddy的服务器 以前我试过这个


我的wordpress网站位于链接子域下,但在完成所有操作后,我想将该网站转移到主域/我只需将所有文件从移动文件夹移动到主域。。在wp_选项表下的数据库中,将该url替换到主域,并在wp_posts表中搜索n replace到url主域,但未发生任何问题请告诉我如何继续执行这些附加步骤:

1. Administration > Settings > General
2. change url here.
3. In site address (URL): change the address
4. Click Save Changes. 

让我知道发生了什么?

我建议导出整个数据库并在代码编辑器(notepad++)中打开它,然后对其进行搜索和替换,将旧域的所有实例替换为新域