跳至內容

Henry Note

發表於 2020-03-25 by 亨利

How to force SSL with .htaccess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

source: https://www.siteground.com/kb/how-to-force-ssl-with-htaccess/

分類WordPress

文章導覽

上一篇文章前 關閉或暫停 Windows 自動更新
下篇文章後 Flush the DNS cache in macOS

近期文章

  • 延長Windows 11更新100年
  • Mobirise slider RWD顯示問題
  • 解決部份不能安裝的MACAPP
  • WordPress開啟ssl後css無法加載
  • Contact Form 7 Special mail-tags
  • Force SSL in WordPress with Web.config
  • How to force SSL with Web.config
  • How to force www. in a generic way with .htaccess
  • Flush the DNS cache in macOS
  • How to force SSL with .htaccess
本站使用 WordPress 架設