Apache环境下https不带www怎么跳转到带www解决方案
网站的伪静态文件.htaccess 里加上(意于 301重定向)RewriteCond %{HTTP_HOST} ^dtmuban\.com$ [NC]RewriteRule ^(.*)$ https://www.mbkfw.com/$1 [L,R=301]如想强制开启 SSL 加(意于 301重定向)RewriteCond %{SERVER_PORT} !^443$RewriteRule ^(.*)?$ https://%{SERVER_NAME}/$1 [L,R=301]
小黑 linux2018-08-10