Title: SSL 不安全内容修复器
Author: webaware
Published: <strong>2012 年 4 月 20 日</strong>
Last modified: 2025 年 12 月 14 日

---

搜索插件

![](https://ps.w.org/ssl-insecure-content-fixer/assets/banner-772x250.png?rev=2590634)

![](https://ps.w.org/ssl-insecure-content-fixer/assets/icon-256x256.png?rev=2590634)

# SSL 不安全内容修复器

 作者：[webaware](https://profiles.wordpress.org/webaware/)

[下载](https://downloads.wordpress.org/plugin/ssl-insecure-content-fixer.2.7.2.zip)

 * [详情](https://cn.wordpress.org/plugins/ssl-insecure-content-fixer/#description)
 * [评价](https://cn.wordpress.org/plugins/ssl-insecure-content-fixer/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ssl-insecure-content-fixer/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ssl-insecure-content-fixer/#developers)

 [支持](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/)

## 描述

帮助您清除您的 WordPress 站点中有关 HTTPS 下不安全内容与混合内容的警告。通过安装
SSL 不安全内容修复器(SSL Insecure Content Fixer) 来以最简单的方式清除网站的不安全
内容警告。其余设定可以通过一个简单的工具来进行检测与诊断。

当您安装 SSL 不安全内容修复器(SSL Insecure Content Fixer) 后，其默认配置将会被激活
并自动启用“简单”等级的操作以执行一些基本的修复。您可以根据您网站的需要选择其他配置
以获得更全面的修复。

WordPress 多站点配置下将会进入一个网络配置页面。此页面内的配置可以作为网络内全部
站点的默认配置，从而使网络管理员只需在默认配置的基础上，根据不同网站的不同需求做出
少量的对应改变。

访问 [SSL 不安全内容修复器官方网站(英文)](https://ssl.webaware.net.au/) 以获取更多
信息。

### 翻译

感谢我们的翻译者所做出的慷慨贡献：

 * 保加利亚语 (bg_BG) — [保加利亚语翻译团队](https://translate.wordpress.org/locale/bg/default/wp-plugins/ssl-insecure-content-fixer)
 * 中文（简体）(zh_CN) — [中文（简体）翻译团队](https://translate.wordpress.org/locale/zh-cn/default/wp-plugins/ssl-insecure-content-fixer)
 * 英语（加拿大） (en_CA) — [英语（加拿大）翻译团队](https://translate.wordpress.org/locale/en-ca/default/wp-plugins/ssl-insecure-content-fixer)
 * 英语（英国）（en_GB） — [英语（英国）翻译团队](https://translate.wordpress.org/locale/en-gb/default/wp-plugins/ssl-insecure-content-fixer)
 * 英语（南非）（en_ZA） — [英语（南非翻译团队）](https://translate.wordpress.org/locale/en-za/default/wp-plugins/ssl-insecure-content-fixer)
 * 荷兰语 (nl_NL) — [荷兰语翻译团队](https://translate.wordpress.org/locale/nl/default/wp-plugins/ssl-insecure-content-fixer)
 * 德语 (de_DE) — [德语翻译团队](https://translate.wordpress.org/locale/de/default/wp-plugins/ssl-insecure-content-fixer)
 * 法语 (fr_FR) — [法语翻译团队](https://translate.wordpress.org/locale/fr/default/wp-plugins/ssl-insecure-content-fixer)
 * 意大利语 (it_IT) — [意大利语翻译团队](https://translate.wordpress.org/locale/it/default/wp-plugins/ssl-insecure-content-fixer)
 * 日语 (ja) — [日语翻译团队](https://translate.wordpress.org/locale/ja/default/wp-plugins/ssl-insecure-content-fixer)
 * 俄罗斯语 (ru_RU) — [俄罗斯语翻译团队](https://translate.wordpress.org/locale/ru/default/wp-plugins/ssl-insecure-content-fixer)
 * 西班牙语（es_ES） — [西班牙语翻译团队](https://translate.wordpress.org/locale/es/default/wp-plugins/ssl-insecure-content-fixer)

如果你愿意帮助我们翻译这个插件，请访问 [此网站](https://translate.wordpress.org/projects/wp-plugins/ssl-insecure-content-fixer).，
并在注册账号后开始你的工作。

### 隐私

SSL 不安全内容修复器不搜集任何个人身份信息，不配置任何 Cookies。

## 安装

 1. 本插件可以通过 WordPress 管理界面自动安装，或是下载 .zip 文件、解压后上传至 /wp-
    content/plugins/ 进行安装。阅读 WordPress Codex 上的 [安装插件](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)
    教程以获取更多信息。
 2. 通过WordPress的“插件”菜单激活插件。

如果您的浏览器始终报告存在不安全内容或混合内容，请参阅 [Cleaning Up page（英文）](https://ssl.webaware.net.au/cleaning-up-content/)。

## 常见问题

### 我如何了解是什么原因导致了 不安全内容/混合内容警告 的出现？

检查您的浏览器的错误控制台

 * Google Chrome 的开发者工具中有一个 [JavaScript 控制台](https://developers.google.com/chrome-developer-tools/docs/console)
 * FireFox 有一个 [Web 控制台](https://developer.mozilla.org/en-US/docs/Tools/Web_Console)
   或 [Firebug](http://getfirebug.com/) 工具
 * Internet Explorer 有 [F12 Tools 控制台](https://msdn.microsoft.com/library/bg182326%28v=vs.85%29)
 * Safari 中有一个 [错误控制台(Error Console)](https://developer.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/Introduction/Introduction.html)

注意：在你打开你的浏览器控制台之后，请刷新你的网页，控制台将会试图载入并列出其中
的不安全内容，并记录相关的警告。

[Why No Padlock?](https://www.whynopadlock.com/) 有一个非常优秀的诊断 HTTPS 问题
的在线工具。

### 我从我的一些网站元素中收到了“不安全内容”警告。

你可能正在加载以“http:”开头的 URL 所指向的内容（例如图片）。删除这一部分但保留斜
杠，例如：`//www.example.com/image.png`。你的浏览器会加载这些资源，在你的页面业已
启用 HTTPS 时使用该协议。更好的做法是用“https:”来替换“http:”，这样便能保证网页总是
使用 HTTPS 协议来加载图片，例如：`https://www.example.com/image.png`。

如果你的页面能在网页浏览器之外的地方，诸如邮件或非网页文档中展示，那么你应该使用
HTTPS 协议及以此开头的链接（因为你拥有一张 SSL 证书）。你可以查阅 [清除内容](https://ssl.webaware.net.au/cleaning-up-content/)
以获得更多信息。

### 我的网站部署于负载平衡器或反向代理之后

如果你的网站部署于负载平衡器或反向代理之后，WordPress 将不会检测到 HTTPS 是否被启用，
你需要在 [HTTPS 检测设置](https://ssl.webaware.net.au/https-detection/) 中选择适当的
选项。阅读我的博客文章 [WordPress is_ssl() doesn’t work behind some load balancers](http://snippets.webaware.com.au/snippets/wordpress-is_ssl-doesnt-work-behind-some-load-balancers/)
以获取更多信息。

### 我收到了来自类似于 jquery.js 的基本 WordPress 脚本的警告

你的网站很有可能部署于反向代理之后——请阅读 FAQ 中有关负载平衡器与反向代理器的相关
解答，并在 WordPress “工具”菜单中运行 SSL 测试。

### 我修改了检测设置后无法登陆了

很有可能是因为你正在运行的其他插件也在试图修正 HTTPS 检测。请将以下内容增加到你的
wp-config.php 文件中，将其添加至 `ABSPATH` 之上。接着你便可以在继续配置之前将该插
件回滚至默认状态。

    ```
    define('SSLFIX_PLUGIN_NO_HTTPS_DETECT', true);
    ```

### 在我的安全页面上仍然收到“不安全内容”警告

请将其反馈到 [支持论坛](https://wordpress.org/support/plugin/ssl-insecure-content-fixer)
中，并且一定要包含指向有问题的页面的链接。没有附带相关链接的帖子很有可能会被忽略。

### 你们在兼容性问题中列出了我的插件，但现在我已经修复了

太好了！请告诉我们你开发的是哪一款插件以及应如何在该插件的最新版本下进行测试，我
会在下一个版本中去掉相关的“修复”标签。

## 评价

![](https://secure.gravatar.com/avatar/49a3dceca42b7abc609a8c6a062e06cb2474ecba827fec404afb1ef3b21f9e3b?
s=60&d=retro&r=g)

### 󠀁[BEST SSL Insecure Content Fixer I’ve Found](https://wordpress.org/support/topic/best-ssl-insecure-content-fixer-ive-found/)󠁿

 [goviral](https://profiles.wordpress.org/goviral/) 2026 年 1 月 10 日

I rarely find a plugin that is so good that it warrants a review but this one does.
I have tried other (very famous) plugins that did nothing and I continued to get
the insecure content warning. I had to capture everything but the site looks exactly
the same and it’s an instant, easy solution. Thanks to the developers. Much appreciated
for such a simple, yet perfectly working, plugin.

![](https://secure.gravatar.com/avatar/1c3a03d64f68d7c2def3406aa643224f20a7a176d7ced2d6c2eadaec36e2474a?
s=60&d=retro&r=g)

### 󠀁[Nice Plugin](https://wordpress.org/support/topic/nice-plugin-5319/)󠁿

 [skinnyboyz](https://profiles.wordpress.org/skinnyboyz/) 2025 年 5 月 18 日

Work on my local server that having issue (mixing content) that i make it accessible
on internet using cloudflare. 5 stars can prove it

![](https://secure.gravatar.com/avatar/ff514bce71920b50eec118552a4f9e7385318eaa97c17c8d3ed3b7e376505e1a?
s=60&d=retro&r=g)

### 󠀁[it saved me time](https://wordpress.org/support/topic/it-saved-me-time/)󠁿

 [Hasan H.](https://profiles.wordpress.org/nimdaqiu/) 2024 年 12 月 15 日

it saved me time

![](https://secure.gravatar.com/avatar/c1d16fed8323954eb48325eac037ae0889254ad8161a2dc80cee59e139566800?
s=60&d=retro&r=g)

### 󠀁[Awesome job!](https://wordpress.org/support/topic/awesome-job-52/)󠁿

 [augustodelucena](https://profiles.wordpress.org/augustodelucena/) 2024 年 4 月
30 日

Thanks so much for this great plugin that saves us a lot of time and efforts! Cheers!

![](https://secure.gravatar.com/avatar/87fca3f0cba1df0d8774e9ab1f34ed85fa780b2c217e374d12d11f66878a8e89?
s=60&d=retro&r=g)

### 󠀁[Ideal](https://wordpress.org/support/topic/ideal-48/)󠁿

 [marcmsk](https://profiles.wordpress.org/marcmsk/) 2024 年 4 月 23 日

Thumbs up for minimalism, simplicity, following best practices. It is lighweight
plugin that simply works. It is not only plugin but actually a role model for other
wp developers, how a wordpress plugin should looks like. No excessive colorful menu
icons screaming “watch another plugin” but simple sub item under settings. No ads,
nicely processed solution to a problem. It is not that common see such properly 
developed plugin. All developers should be adding value to WP by adding functionality
while keeping is simple like this guy(s), clean, easy to use. Not like most of developers,
who are changing WordPress into one huge complicated aggregator of ads and confusing
sections or buttons. Great job.

![](https://secure.gravatar.com/avatar/a31cd68e1c5de1a15c4a31dd99cc0e9eb0eb4f2aaedd3d3025a1e22d928b9a32?
s=60&d=retro&r=g)

### 󠀁[Simple LightWeight that works](https://wordpress.org/support/topic/simple-lightweight-that-works/)󠁿

 [Skrlance](https://profiles.wordpress.org/seanlance/) 2024 年 4 月 16 日

Plugin is simple lightweight and it just works better than other available plugins
that recommends unnecessary functions.

 [ 阅读所有221条评价 ](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/reviews/)

## 贡献者及开发者

「SSL 不安全内容修复器」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

「SSL 不安全内容修复器」插件已被翻译至 18 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/ssl-insecure-content-fixer/contributors)
为本插件所做的贡献。

[帮助将「SSL 不安全内容修复器」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ssl-insecure-content-fixer)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ssl-insecure-content-fixer/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/ssl-insecure-content-fixer/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/ssl-insecure-content-fixer/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ssl-insecure-content-fixer/)。

## 更新日志

完整的更新记录可以在 [GitHub 上查看到](https://github.com/webaware/ssl-insecure-content-fixer/blob/master/changelog.md)。
最近更新如下：

### 2.7.2

发布日期 2018-12-04

 * 修复：当href是第一个属性时，一些硬编码的链接元素（例如样式表）

## 额外信息

 *  版本 **2.7.2**
 *  最后更新：**4 月前**
 *  活跃安装数量 **100,000+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 5.3 或更高版本 **
 *  语言
 * [Bulgarian](https://bg.wordpress.org/plugins/ssl-insecure-content-fixer/) 、 
   [Chinese (China)](https://cn.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [Croatian](https://hr.wordpress.org/plugins/ssl-insecure-content-fixer/) 、 [Dutch](https://nl.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [English (Australia)](https://en-au.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [English (US)](https://wordpress.org/plugins/ssl-insecure-content-fixer/) 、 
   [French (France)](https://fr.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [Galician](https://gl.wordpress.org/plugins/ssl-insecure-content-fixer/) 、 [German](https://de.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [Italian](https://it.wordpress.org/plugins/ssl-insecure-content-fixer/) 、 [Japanese](https://ja.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [Russian](https://ru.wordpress.org/plugins/ssl-insecure-content-fixer/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/ssl-insecure-content-fixer/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/ssl-insecure-content-fixer/)
   和 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/ssl-insecure-content-fixer/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/ssl-insecure-content-fixer)
 * 标签
 * [https](https://cn.wordpress.org/plugins/tags/https/)[insecure content](https://cn.wordpress.org/plugins/tags/insecure-content/)
   [mixed content](https://cn.wordpress.org/plugins/tags/mixed-content/)[ssl](https://cn.wordpress.org/plugins/tags/ssl/)
 *  [高级视图](https://cn.wordpress.org/plugins/ssl-insecure-content-fixer/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  206 条 5 星评价     ](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/reviews/?filter=5)
 *  [  6 条 4 星评价     ](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/reviews/?filter=2)
 *  [  8 条 1 星评价     ](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/reviews/)

## 贡献者

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ssl-insecure-content-fixer/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://shop.webaware.com.au/donations/?donation_for=SSL+Insecure+Content+Fixer)