RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^a\.html$ https://%{HTTP_HOST}/b.html [R=301,L]
最后一條是從 a.html 301重定向到 b.html
本文地址:http://quema.com.cn/artinfo/2719.html
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^a\.html$ https://%{HTTP_HOST}/b.html [R=301,L]
最后一條是從 a.html 301重定向到 b.html
本文地址:http://quema.com.cn/artinfo/2719.html