Wordpress-FAQ

  • You do not have permissions to view this page - please try logging in.

版本為 17:41, 28 Jul 2026

到這個版本。

返回到 版本存檔.

查閱目前版本

有關 Wordpress 架站平台的 FAQ

Q:網站變更 Domain Name 後,網頁出現不完整並且無法登入管理介面。

Ans: 有以下幾種方法:

1st - recommend)

編輯 wp-config.php,如果沒有這一段,就手動加上,位置是上方的有多個 define(.....) 任一行

// added by alang
// Once your domain is changed and you can't access your web site normally.
// To fix the issue, uncomment the line below then visit the link
// http://your-old-domain/wp-login.php, logged on the Admin panel, change the domain
// name to new one there.

define('RELOCATE',true);

開啟瀏覽器,輸入 http://your-old-domain/wp-login.php,登入成管理員,在設定裡的網址修正成新的,存檔離開。

驗證看看首頁是否已恢復正常。

最後記得將 wp-config.php 的這一行做註解

//define('RELOCATE',true);

2nd)
修改資料庫 > Table: wp_options > 找尋 siteurl, home,修改成正確的網址。

3rd)
編輯網頁檔 wp-config.php,加上這兩行

reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)
Q:網站變更 Domain Name 後,原有文章的圖片連結都失效
Powered by MindTouch Core