1
所有領域,我希望它這樣所有HTTP或HTTPS請求訪問https:// mydomain.com使用相同的頁面。htaccess的以https/HTTP來一個使用域HTTPS
因此,即使https://開頭mydomain.net/donate/和http:// mydomain.net/donate/會去到https:// mydomain.com/donate/
任何幫助嗎?提前致謝!
所有領域,我希望它這樣所有HTTP或HTTPS請求訪問https:// mydomain.com使用相同的頁面。htaccess的以https/HTTP來一個使用域HTTPS
因此,即使https://開頭mydomain.net/donate/和http:// mydomain.net/donate/會去到https:// mydomain.com/donate/
任何幫助嗎?提前致謝!
不能相信,我忘了如何與htaccess的做到這一點:P
RewriteEngine On
RewriteCond %{HTTPS} !^on$
RewriteRule (.*) https://newdomain/$1 [R,L]
就是這樣。