WordPress網站架設-【當WordPress所架設的網站出現了這樣的訊息:Warning: Cannot modify header information – headers already sent by (output started at /home4/ryan/public_html/ryanwangblog.com/public_html/wp-config.php:1)in /home4/ryan2010/domains/ryanwangblog.com/public_html/wp-includes/pluggable.php on line 1079】

image003
彌月送禮
previous arrowprevious arrow
next arrownext arrow

前陣子去了趟俄羅斯,回國後才發現網站已經掛掉,而且螢幕上出現了這樣的字眼:『Warning: Cannot modify header information – headers already sent by (output started at /home4/ryan/public_html/ryanwangblog.com/public_html/wp-config.php:1)in /home4/ryan2010/domains/ryanwangblog.com/public_html/wp-includes/pluggable.php on line 1079』,後來才發現原來問題就出在當初設定Wordpress網站裡頭的wp-config.php檔案時,是以一般電腦內建的記事本開啟,然後便直接存檔後上傳,才導致了後來在網站資料傳輸過程中出現了一些問題,至於解決的辦法並不複雜,以下就為大家做介紹,有同樣困擾的朋友不仿就參考看看吧。

STEP1:

進到CPANEL後臺當中的文件管理器,將wp-config.php下載下來

Wordpress網站架設

STEP2:

下載Notepad++軟體

下載網址:https://notepad-plus-plus.org/download/v6.7.9.2.html

Wordpress網站架設

STEP3:

接著,以Notepad++開啟wp-config.php

Wordpress網站架設

STEP4:

然後請另存新檔(內容不必做任何修改)

Wordpress網站架設

STEP5:

最後再次回到CPANEL後臺當中的文件管理器,將另存新檔後的wp-config.php檔案上傳,然後就大功告成瞜~~

Wordpress網站架設

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *