任意网址跳转到带www和https网址跳转方法

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.zjjxkt.com$ [NC]
RewriteRule ^(.*)$ http://www.zjjxkt.com/$1 [L,R=301]

Share :
Tag :