0
我有一个使用SSL的网站。从http重定向到https似乎工作正常。我的问题是我应该如何将https://domain.com重定向到https://www.domain.com。
我试过这个,但它不起作用。
.htacess没有将HTTPS重定向到HTTPS
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} (.*)
RewriteRule .? https://%1%2 [R=301,L,U,NE]
感谢