将Wordpress 3.0.1从一台服务器迁移到另一台服务器 [英] Migrating wordpress 3.0.1 from one server to another
问题描述
这是我想加点的内容,完成的操作以及...(较差的结果):
Here's what I wanted to dot, what I've done, and... the (poor) result:
- 我想:将我的个人网站从一台服务器迁移到另一台服务器,并且仅更改DNS上的IP.所以:
- 我更改了DNS上的IP.好的.一切都很好(现在已经7天了)
- 我从服务器A转储了Wordpress 3.0.1数据库
- 我将我的个人网站的完整目录递归复制到服务器B
- 在服务器B上:我已经创建了utf8 wordpress数据库,然后重新注入了SQL转储(来自A)
- 我已经在数据库B上创建了具有正确权限的好用户
现在: 一切正常...好吧,只有主页!请参阅 http://olivierpons.fr/,然后单击一个主题. 我什至无法登录!你知道我应该看哪里或我想念什么吗?
And now: Everything works fine... Well Err... only the main page! See http://olivierpons.fr/ then click on a topic. I can't even log in! Do you know where I should look or what I am missing?
非常感谢!
奥利维尔
推荐答案
好吧,我仍然不知道问题出在哪里,但这是我做的:
Okay I still don't know where the problem was, but here's what I did:
- 我导出了我所有的文章 旧的Web服务器A放入文件XML_A
- 我在B上手动创建了一个新数据库
- 我在B上启动了Wordpress
- 我创建了B所需的所有内容,
- 我从XML_A文件中全部导入了
- I exported all the articles from my old webserver A into a file XML_A
- I created manually a new database on B
- I launched Wordpress on B
- I created all what's needed on B,
- I imported all from the file XML_A
它现在可以工作,但是我很确信这不是正确的方法...
It works now but I'm pretty convinced this is not the right way to do this...
最后我找到了正确的答案,正确的位置(以防可能对某人有所帮助):
And I finally found the right answer an the right place (in case this might help someone):
http://codex.wordpress.org/Moving_WordPress
这篇关于将Wordpress 3.0.1从一台服务器迁移到另一台服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!