【发布时间】:2016-09-11 11:36:39
【问题描述】:
我有以下重定向
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
如何将非 WWW https 重定向到 WWW?
htaccess 位于 public_html 文件夹中
【问题讨论】:
-
你找到答案了吗 - 线程中的答案都错过了这个问题。
标签: .htaccess redirect https http-redirect no-www