apache主机使用htaccess自动跳转http到https Wordpress19/09/2017 在主机根目录.htaccess文件内,添加如下内容: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 解释一下,将所有http访问请求,跳转到https访问…Continue reading