Apache环境下,.htaccess 伪静态让http 301重定向到https, 并且不带www跳转到带www
#开启伪静态
RewriteEngine On
#http 301重定向到https, 并且不带www跳转到带www
RewriteCond %{HTTP_HOST} ^91084.com [NC]
RewriteRule ^(.*)$ https://www.91084.com/$1 [L,R=301]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.91084.com/$1 [L,R=301]
上面91084.com改成你自己的域名即可