2012-04-19 67 views
0

我正在將一個WordPress站點從一個域名遷移到另一個域名。插件在我的過程中失去了我的偏好。我真的不明白爲什麼。我很好奇爲什麼發生這種情況。Wordpress在遷移時重置插件設置

以下是通過我去的步驟:

 
1. uploaded wordpress files from localhost 
    through FTP on the new domain (http://example-live.com) 
2. uploaded database to the new domain 
3. changed all links referring to http://localhost to http://example-live.com 
4. treated text_widgets differently because they are serialized in the db. 
5. edited .htaccess 
6. updated wp_config.php 

頁面顯示正常,但我缺少插件的喜好......有什麼想法?

編輯:發現這:http://codex.wordpress.org/Moving_WordPress

回答

0

你應該更換你的SQL轉儲所有鏈接之前進口:

用文本編輯器打開你的SQL轉儲,並與您的域名網址全部替換本地URL (例如,使用「www.yourdomain.com」全部替換「localhost/mysite」),如下所述:http://webdesignerwall.com/tutorials/exporting-and-importing-wordpress

編輯:小心序列化的數據,你不能簡單地用更短/更長STRI更換localhost/mysite ng,你必須手動處理

+0

我在第3步中做到了這一點。 – codequp 2012-04-19 16:05:47

+0

必須在sql dump中完成** **步驟2之前 – soju 2012-04-19 16:08:12

+0

爲什麼它需要在第2步之前完成?是什麼原因 ? – codequp 2012-04-20 07:06:33