页面的混合内容是通过 https 加载的,但请求了一个不安全的脚本



我的托管服务提供商刚刚在我的网站上实施了SSL证书,我现在看到"mydomain.co.uk 页面通过https加载的混合内容,但请求了一个不安全的脚本"。

我从以前的线程中了解到我需要修改我的 htaccess 文件,并尝试了几个没有成功的选项。 这是 htaccess 文件中的当前代码:

RewriteEngine On
Options +FollowSymlinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/$ index.php?Filename=$1 [L]
RewriteCond %{HTTP_HOST} !=localhost:8888
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(.[a-zA-Z0-9]{1,5}|/)$
RewriteRule (.*)$ /$1/ [R=301,L]
AddOutputFilterByType DEFLATE text/html text/xml text/css text/javascript 
Header set X-UA-Compatible "IE=edge”

任何帮助将不胜感激。

问题现已修复。 找到了另一个带有答案的线程。

最新更新