Wordpress-FAQ

    版本為 16:40, 3 Oct 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    有關 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)
    Powered by MindTouch Core