我已经完成了将现有wordpress站点迁移到另一台服务器的所有步骤。然而,当我尝试登录到迁移的站点时,它会不断将我重定向到旧站点,不管我是否使用wp admin。php或wp登录。php。
我还阅读了十几个关于迁移worpress帐户的不同页面,但没有一个遇到我在某些步骤中遇到的问题。
以下是我遵循的步骤,包括我遇到的与迁移说明中指定的步骤的差异(以粗体突出显示的问题):
1) 使用ftp将所有wordpress文件从oldsite下载到我的硬盘。
2) 使用PHP myadmin从我的旧站点下载了数据库。
3) 使用ftp将所有wordpress文件上载到我的新闻网站上的选定目录。
4) 使用PHP Myadmin在新闻网站上创建了一个新数据库。As I am loading onto a different server, I created a new database using the same database name and password from the oldsite. That way I didn\'t have to change the WPconfig file. Is that okay to do? Not a single migration article I read used the same database and password, nor did they say not to, so I assumed it would be okay.
5) 使用phpMyadmin将wp\\u选项中的数据库条目更改为新URL。However, every instruction I read says there are two fields to change: siteurl and home. There is no home field in my wp-options. Just siteurl.
6) 我在phpMyadmin中使用输入到SQL中的以下字符串成功地将所有旧站点url更改为新闻站点url:
更新wp\\u posts set post\\u content=替换(post\\u content,\'http://oldsite/\',\'http://newsite/\');
对所有这些数据库表执行了相同的操作:
wp\\u postswp\\u redirection\\u logswp\\u userswp\\u redirection\\u项目
我检查了每个表,所有的更改都很好。
7) 检查每个数据库表以确保没有旧站点URL的实例。找不到。
8) 在浏览器中输入新闻站点URL。I get a 404 message. The menu, latest postings and banner all appear okay, but if I hover over any of them they are all pointing to the oldsite URLs.
9)When I try to get into the admin panel of the newsite, it allows me to enter the name and password, then automatically redirects me to the oldsite and asks me to login again. Tried on different browsers but the results are always the same.
知道我做错了什么吗?