.htaccess 編輯工具網站:
http://www.htaccesseditor.com/tc.shtml
# 更新前,請先備份 .htaccess 檔案,如更新後發生錯誤,可使用原本 .htaccess 檔案復原。
使用 cPanel 安裝 WordPress 前須先完成以下步驟,本篇從第 3 步驟登入 WordPress 主機 cPanel 開始:
1.購買遠振WordPress主機(台灣WordPress主機或美國WordPress主機),並完成付款。>>購買流程教學看此
2.付款完成後將會收到主機開通信件,於 twnoc.net 登入會員帳號與密碼。
3.開啟cPanel後台步驟:
進入 cPanel 後台
Step1.登入 twnoc.net 後,點選服務,進入我的產品 & 服務。
Step2.在我的產品 & 服務點選您已購買的WordPress主機方案後,即能看到登入cPanel。
大家都知道WordPress是一款很方便的架站軟體,只要租用一台虛擬主機就可以完成架站;但對於初次使用cPanel後台的人可能不清楚能夠使用「Installatron」內的預裝程式就可以一鍵安裝WordPress囉!
不但可以省去繁瑣的安裝過程,讓一般即使不懂程式語言的人也可以輕鬆快速架站,今天就來教你簡易步驟一鍵安裝WordPress吧!
「Installatron」是一款內建涵蓋許多自由軟體的應用程式,可讓cPanel的使用者透過簡單的步驟即可自行安裝、升級、備份、還原。
使用 cPanel 後台的「Installatron」應用程式安裝 WordPress :
Step1.請先登入「cPanel後台」
Step2.請下拉到「軟體」區域→點選「Installatron Applications Installer」

Step3.進入「Installatron」畫面後,請在右上角搜尋應用程式地方搜尋「WordPress」

Step4.畫面會立即顯示出「WordPress」應用軟體→請點選右上方「安裝此應用程式」
.png)
Step5.會進入一連串的資料登入畫面→輸入你購買的「網域」、「路徑」。

Step6.自動更新選項→建議點選「備份後更新」

Step7.輸入WordPress的後台管理員帳號、密碼與郵件信箱

Step8.捲動到最下面點選「安裝」按鈕→會進入「WordPress」安裝的執行畫面

Step9.待安裝執行中→跑完後→即可看到連到你架站的網址,可以自行對應用程式使用「升級、編輯、備份、複製、解除安裝」的功能,相當方便!
.jpg)

Step10.點選部落格連結進去→將會看到你的WordPress「Hello world!」預設畫面喲!這樣就安裝完成啦~是不是很快速呢?!

【教學影片】
看完教學之後是不是躍躍欲試了呢? 現在立即選擇最適合您的 WordPress 專屬主機方案吧!
今天來告訴大家如何使用cPanel申請免費的SSL憑證,讓我們一起往下看吧
▲為什麼要申請SSL憑證?
1.加強客戶對網站的信任度
2.加強網站安全性
3.增加搜尋引擎網站排名 (*付費SSL>免費SSL>完全沒申請)
▲遠振有兩種免費憑證可以申請,差別只在於憑證的簽發者不同而已。
1.SSL/TLS Status
是由cPanel所提供的憑證服務。
2.Let's Encrypt SSL
Let's Encrypt 是由 Internet Security Research Group (ISRG) 提供的憑證服務,ISRG 是非營利組織,致力於推廣網路安全通訊,並減少網路安全通訊中包含財務、科技與教育的各種推廣障礙。
■以上免費的憑證期限為 3個月,憑證到期前一個月,系統會自動重新申請。
▲安裝步驟可參考以下方式:
1.SSL/TLS Status
Step1.登入cPanel→下拉到安全性欄位內點選「SSL/TLS Status」
Step2. 點選「需要使用的網域」→按「執行AutoSSL」等待執行後,此憑證過期後將會透過AutoSSL重新頒發。
2.Let's Encrypt SSL
Step1. 登入cPanel→下拉到安全性欄位內點選「Let's Encrypt™ SSL」
Step2.下拉至「頒發新憑證」區域,在想加上憑證的網域右方點選「+頒發」
Step3.會進入安裝憑證的畫面→可選擇頒發憑證「http-01」or 「dns-01」驗證方式→勾選完畢後點選「頒發」
會顯示以下頒發成功訊息「SSL 憑證現在已使用 IP 位址“XXX.XX..XX”安裝在網域“XXXX.XX”上。現有虛擬主機已使用新的憑證更新。 Apache 正在背景中重新啟動。」
*使用http憑證頒發失敗原因
1.你要使用的網域A 紀錄沒有指向到這台虛擬主機,導致無法驗證
2.( .well-known/…)內資料夾內容無法被存取,導致無法驗證
*使用DNS憑證頒發失敗原因
1.你要使用的網域A 紀錄沒有指向到這台虛擬主機,導致無法驗證
2.DNS不是使用這台虛擬主機,導致無法驗證
▲注意使用免費SSL憑證也有「速率限制」,編編提醒大家不要太頻繁地嘗試重覆申請動作,若有遇到任何申請上的問題,建議還是來信或來電至「遠振尋求工程師的協助」,避免憑證申請被鎖住需等待更久的時間才能夠再次申請憑證。
【教學影片】
>> 了解更多 SSL 憑證方案規格
▼ cPanel 如何建立電子郵件帳戶&信箱配額設定
Step1.請先登入cPanel後台
Step2.拉到帳號區塊點選「電子郵件帳戶」
Step3.請在新增電子郵件帳戶欄位中分別輸入「要新增的email帳號」及「密碼」(如圖框所示)→密碼確認(請記得再次輸入正確密碼,也可使用隨機產生的密碼)
Step4.在信箱配額欄位內→輸入你想分配給此信箱帳號所需的空間用量也可選擇無限制(但是建議不要使用此選項,如果使用到滿可能會對網頁服務造成影響)
*此設定即使選擇無限制,最大還是只能使用到您方案的空間上限。
Step5.點選建立帳戶按鈕→立即會顯示綠色框框表示成功建立此帳號!
▼ 變更帳號密碼
若遇到需要更改信箱密碼的狀況時,可以在下方為帳號重新設定密碼
Step1.在動作下方點選密碼→會顯示出密碼輸入的欄位
Step2.輸入新密碼→密碼確認(請記得再次輸入正確密碼,也可使用隨機產生的密碼)
Step3.點選變更密碼按鈕→立即會顯示綠色框框,表示成功變更此密碼!
▼ 為帳號設定其他功能
在信箱帳戶右方的「其他」欄位中點選下拉選單,會顯示五個可以為帳號設定的功能:
1. Suspend
帳號禁止登入及閱讀信件和收發送電子郵件功能
2. 暫停登入
帳號暫停登入功能
3. 暫停接收郵件
帳號暫停收電子郵件功能
4. 存取Webmail
可以透過網頁版的方式進入電子信箱介面使用信箱功能
5. Manage Disk Usage
可以查看此帳號的收件夾、寄件夾、廣告或垃圾郵件、草稿、垃圾桶目前的磁碟使用量,或是做刪除管理不必要的信件。
以上為cPanel電子郵件帳戶的基本功能,也是最常會使用到的部份,按照以上步驟就可以好好的管理你所有的電子信箱帳戶囉!
【教學影片】
Free SSL Installation - How To Get Free SSL Certificate for Website (HTTPS) ?
▼ Why should I apply for an SSL certificate?
1. Strengthen a customer’s trust on the website
2. Improve your website security
3. Improve your search engine ranking (SEO) ( Paid SSL>Free SSL>Non-SSL )
▼ Yuan-Jhen provides two kinds of free SSL Certificate.
The only difference is the certificate authority of the certificate.
⑴. SSL/TLS Status
The certificate is provided by cPanel.
⑵. Let's Encrypt SSL
Let's Encrypt is a free certificate authority run by Internet Security Research Group (ISRG), with a mission to create more network communications security and reduce the promotion of financial, technology and education barriers in network communications security.
* The period of the above free SSL certification is 3 months, and the system will automatically renew one month before the free SSL certificate expires.
Refer to the following SSL certificates installation steps
⑴. How to install a free SSL certificate using SSL/TLS Status ?
1. Log into cPanel account
Log in to cPanel → scroll down to Security and click on "SSL/TLS Status".

2. Enable the free SSL certificate
Choose "the domain" you want to enable the free SSL certificate → click "RunAutoSSL".This free SSL certificate will be reissued through Auto SSL when it expires.

⑵. How to install a free SSL certificate using Let's Encrypt ?
1. Log into cPanel
Log into cPanel → scroll down to Security and click on "Let's Encrypt™ SSL".

2. Issue a new certificate
Under "Issue a new certificate" section, and click "+Issue (+頒發)" for the domain you want to enable a free SSL certificate.

3. Choose an SSL validation method
At a free SSL installation dislaye → you can choose "http-01" or "dns-01" as the validation method → click "Issue (頒發)".

4. Enable a free SSL Certificate
If the installation is successful, you’ll get the following message: "The SSL certificate is now installed onto the domain “XXXX.XX” using the IP address "XXX.XX..XX. The existing virtual host was updated with the new certificate. Apache is restarting in the background.

HTTP Validation (http-01) failure
1. A record of a domain you want to secure did not connect to virtualhost, resulting in failure to verify.
2. (.well-known/...) the contents of the folder cannot be accessed, resulting in failure to verify.
DNS Validation (dns-01) failure
1. A record of a domain you want to secure did not connect to virtualhost, resulting in failure to verify.
2. DNS is not used for this web hosting, causing authentication failure.
* Note that the usage frequency of a free SSL certificate has “ limit ”. Yuan-Jhen gently reminds everyone not try to re-apply it too frequently. If you encounter application problems, it is recommended to send a ticketor call to "Yuan-Jhen for assistance from an engineer". To prevent being locked to apply for the free SSL certificate, it will take longer to apply for a free SSL certificate again.
Step1. After having a WordPress web hosting plan and a domain, please log-in to the “cPanel”.
Step2. Click “Installatron Applications Installer”.
Step3. At “Installatron” screen, please search for “WordPress” in the top right corner as photo below:
Step4. Click “Install this app”.
Step5.Fill in your the “domain” and “directory”:
Step6. “Update to new minor version and security releases”
Step7. Enter the WordPress back-end administrator account, password, and email address.
Step8. Click “Install”, to set “upgrade, edit, backup, copy, uninstall” on the WordPress application by yourself, it is very convenient!
【教學影片】
To learn about WordPress optimized hosting plan >> WordPress Hosting Solutions
Web Hosting của Việt Đài tích hợp chương trình cài đặt sẵn Installatron!

Installatron được tích hợp sẵn hàng trăm chương trình được sử dụng phổ biến nhất trên thế giới, chẳng hạn như Wordpress, Drupl, Joomla, PHPBB và các chương trình mã nguồn mở khác, bao gồm social, quản lý nội dung CMS, mua sắm trực tuyến, ứng dụng kinh doanh và một số ứng dụng hoàn chỉnh.
Người dùng có thể cài đặt Installatron trên cPanel hoặc Plesk. Đây là một phần mềm ứng dụng rất hữu ích, cho phép nâng cấp, sao lưu và khôi phục chỉ bằng một cú nhấp chuột, tiết kiệm rất nhiều thời gian tải lên, cài đặt, backup và nâng cấp.
Để đạt được khả năng tương thích phần mềm ứng dụng cao nhất, phần mềm dự kiến sẽ được cài đặt trên máy chủ có MySQL 5.0 trở lên. Người dùng có thể đăng ký chuyển đổi máy chủ sang máy chủ có tích hợp sẵn MySQL 5.0 trở lên và đội kỹ thuật của Việt Đài sẽ hỗ trợ di chuyển tệp tin miễn phí cho bạn.
Tìm hiểu danh sách các phần mềm liên quan, vui lòng tham khảo website: https://installatron.com/appstable
▼ 修改 cPanel 登入密碼
1. 登入遠振客戶專區,登入網址: https://twnoc.net/whmcs/clientarea.php
2. 點選左上方 [服務] >> [我的服務]
3. 您將會看到下列相關的圖示內容,並請點選圖片中紅框處的綠色 [可用]
4. 點選後畫面會跳轉,您將會在您的左手邊畫面看到 [動作] ,請點選 [變更密碼] ,圖片紅框處。
5. 點選該功能後即可直接修改您的cPanel 密碼,需要輸入兩次相通的密碼即可變更。設定一組強密碼有助於保護您的帳號安全!同時使用大寫與小寫字母,至少包含一個符號 (# $ ! % & etc...),盡可能不要使用字典中出現的單字
Awstats 計算僅供參考用,因 Awstats 計算不包含ftp與email等流量,同時根據官方的說法,Awstats 會漏掉一些資料:
官方論壇:
http://forums.cpanel.net/f34/bandwidth-awstats-whm-cpanel-different-78829.html
網頁存檔:
http://twnoc.net/images/cp-awstat-bw-differ.png
為了減少垃圾信件,"預設帳號" 的預設值設定為 ":fail:",這樣的設定會使的您用來登入 cPanel 的主要帳號無法正常收發。
解決方式有二:
(本例假設您的網址為 yourdomain.com ,您登入 cPanel 的帳號為 abc )
1.假設您的主要帳號為 "abc",請將 CPanel 內 "預設帳號" 設定為您的主要帳號 abc ,缺點是可能會收到垃圾信件,因為當發送郵件的人輸入一個不存在的 Email 位址,如 "[email protected]" ,信件會被送至預設帳號所設定的信箱,也就是 "[email protected]"
2.新增其他 Email 位址替代使用。
需注意的是,新增了新的 Email 位址之後(假設您新增了 [email protected] ),當您使用 POP/SMTP 收發信件時,您必須完整的輸入 "[email protected]" 來當成 POP/SMTP 的登入帳號,而非 "other" ,只有您用來登入 CPanel 的主要帳號可以不用加上 "@yourdomain.com"
直接用 cPanel 內的檔案管理員,編輯 .htaccess 檔案,在最下方加入上述網站所產生的規則即可。