SSL 混合内容,但我无法在 ftp 上找到图像

SSL Mixed Content but I can't find images on ftp

我使用 WordPress,并从 ThemeForest 购买了一个主题。一切都很好,但是当我安装 SSL 时,我的主页连接不安全。

Mixed Content: The page at 'https://freindly-flowers.com/' was loaded over HTTPS, but requested an insecure image 'http://freindly-flowers.com/wp-content/uploads/2018/11/logo-watermark.png?id=6521'. This content should also be served over HTTPS.

(index):1 Mixed Content: The page at 'https://freindly-flowers.com/' was loaded over HTTPS, but requested an insecure image 'http://freindly-flowers.com/wp-content/uploads/2017/12/testimonials.jpg?id=7079'. This content should also be served over HTTPS.

我尝试在 FTP 中搜索这些图像,但它们在 FTP 中不存在。我能做什么以及它如何显示甚至不在网站上的图像的混合内容?

图像在那里 - http://freindly-flowers.com/wp-content/uploads/2017/12/testimonials.jpg 为我加载。问题是您的代码包含 http: 而没有 s.

导航到该页面,然后右键单击某处并 select "view Source" 查看源代码。在源代码中搜索 http:,您会发现所有不安全的请求。您可能在没有更新 URL 的情况下硬编码了一些图像源或复制了数据库条目,我真的不知道,但是使用相对 URL 是避免此问题的一种方法。