|  首頁
說明

WordPress 託管 說明

噠啦噠啦噠...計算中...計算中...啟動序列 42...
啵啵嗶嗶啵… 機器人自動化中… 此網頁是經由機器人自動翻譯成您的本地語言。某些翻譯可能還不盡完善,我們需要您的幫助!使用頁面底部的按鈕告訴我們本文是否有幫助。 前往英語版本

進行最終編輯


Step 6 of the Move a Managed WordPress site to an unmanaged WordPress account series.

Required: You'll need a text editor to make the necessary changes in this SQL file. There are many third-party text editors available, we recommend Notepad++. Do not edit the file in a word processing application like Microsoft Word.

Managed WordPress uses a randomized table prefix for its database. To get your site to work on the new host, you need to update the wp-config.php on your new host so it matches the database prefix in the SQL database file imported in step 5.

  1. Connect to your new hosting account using a file manager or an FTP client like Filezilla. Each hosting provider has a preferred way of doing this. If you're unsure how to do it, ask your new hosting provider for instructions.
  2. Locate the wp-config.php file and edit it. If you're using FileZilla, select the file and then right click and select View/Edit.
  3. Update the $table_prefix. You should have the prefix after importing the SQL database file in Import your site database. Form example, if your prefix is wp_yourPrefix_.
    Before:
    $table_prefix  = 'wp_';
    
    After:
    $table_prefix  = 'wp_yourPrefix_';
    
  4. Once you're done making changes, save the file. If you're using FileZilla, accept the overwrite warning in FileZilla to replace the file on your new host.
  5. 測試您的網站,看看是否運作正常。


後續步驟

If you're changing the domain along with the site migration, you'll need to perform a find and replace in the database.

  • If your new unmanaged hosting account is with us, follow the instructions in 尋找並取代SSH的WordPress
  • If your new unmanaged hosting account is with another host provider, see their documentation for directions.

更多資訊


這篇文章有用嗎?
感謝您提供意見。 若要與客戶服務代表聯絡,請撥打支援中心電話號碼,或使用上方的對話選項。
很高興能幫上忙! 還有什麼可幫您的嗎?
很抱歉有這種情形。 請告訴我們您不了解的部分,或解決方案無法解決您問題的原因。