我安装了SSL。我在浏览器中的网站也会重定向到https://但是在加载它时会显示一秒钟的安全连接,然后显示"您与此站点的连接不安全"。它仍然在url中有https://。 我的htaccess文件如下
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
答案 0 :(得分:1)
通常情况是,如果使用https访问任何站点但主页包含非安全链接,即与http链接,则会显示警告。
为了验证,您可以使用工具 - https://www.whynopadlock.com来显示任何页面上有多少链接是不安全的。