問:https安裝成功,我需要將HTTP轉到HTTPS,網站打不開
我只是添加了最后兩行代碼
# 將 RewriteEngine 模式打開
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
RewriteRule page/(.*)/([a-zA-Z]{1,}).html$ page/$1/$2.php
RewriteRule page/(.*)/([0-9]{1,}).html$ page/$1/?$2.html
RewriteRule ([a-zA-Z]{1,}).html$ $1.php
RewriteRule news/(.*)/([0-9]{1,}).html$ news/$1/?$2.html
RewriteRule photo/(.*)/([0-9]{1,}).html$ photo/$1/?$2.html
RewriteRule product/(.*)/([0-9]{1,}).html$ product/$1/?$2.html
RewriteRule view/(.*)/([0-9]{1,}).html$ view/$1/?$2.html
RewriteRule down/(.*)/([0-9]{1,}).html$ down/$1/?$2.html
RewriteRule job/(.*)/([0-9]{1,}).html$ job/$1/?$2.html
RewriteRule shop/(.*)/([0-9]{1,}).html$ shop/$1/?$2.html
RewriteRule news/class/([0-9]{1,}).html$ news/class/?$1.html
RewriteRule photo/class/([0-9]{1,}).html$ photo/class/?$1.html
RewriteRule product/class/([0-9]{1,}).html$ product/class/?$1.html
RewriteRule view/class/([0-9]{1,}).html$ view/class/?$1.html
RewriteRule down/class/([0-9]{1,}).html$ down/class/?$1.html
RewriteRule job/class/([0-9]{1,}).html$ job/class/?$1.html
RewriteRule shop/class/([0-9]{1,}).html$ shop/class/?$1.html
ErrorDocument 404 /page404.html
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.cangfenghao.cn/$1 [R,L]
,今天https安裝成功,我需要將HTTP轉到HTTPS,網站打不開
答:您好,調整了301規則,請您清空瀏覽器緩存或者換一個瀏覽器再測試一下,非常感謝您長期對我司的支持!
問:您好,早上成功申請了1元證書,綁定域名www.ccenn.cn,在此虛機的ssl部署處手動輸入證書內容后點擊確定部署。目前https://www.ccenn.cn/ 和http://www.ccenn.cn/ 都能打開網站。是不是說明該證書已安裝成功?然后是否必須得設置301跳轉將http跳轉到https?
答:您好,http跳轉到https不是必須的,您現在已經部署成功了并且能訪問,若是不設置跳轉也沒有影響的,非常感謝您長期對我司的支持!
問:好的,謝謝,再問下,我早上是自行下載證書,并在此虛機的ssl部署處手動輸入證書內容后點擊確定部署的,為何還會收取8元的部署費呢?
答:您好,虛擬主機ssl證書部署是我司方便用戶提供的新功能,這個系統會自動扣取8元手續費,部署界面有說明的,非常感謝您長期對我司的支持!
問:若點擊一鍵部署ssl的話,則需額外收費?
然后此1元證書是否無法續費,只能等到期后重新申請購買和部署是吧?
答:您好,1.部署都是有一個手續費的,一般部署針對的是域名證書在我司,點擊后自動部署,方便用戶
2.1元證書不能續費,只能過期后申請,您重新申請后點擊更新證書按鈕,將新證書信息填寫后更新即可,不收費的,非常感謝您長期對我司的支持!