Really Simple SSL


Really Simple SSL 自动侦测您的设定及配置您的网站以运作 https。为了保持轻重量,选项将被保持在一最小数。整个站将搬到SSL。


  • 求取 SSL 认证 (这我无法帮您,抱歉)。
  • 启动这插件
  • 只一点击就启动 SSL

在开始前永远先作备份!若你没有声效备份的计划,最好是有一个! 请看 our recommendations.

Any code suggestions? We’re on GitHub as well!

爱上 Really Simple SSL?

Hopefully this plugin saves you some hours of work. If you want to support the continuing development of this plugin, you might consider buying the premium, which includes
some cool features.


  • 混合内容扫瞄,这是当你还没有绿锁时,显示你该如何处理。
  • 启动 HTTP 严密传输安全系统的选项
  • 为 HSTS 预载入列表而佩置你网站的选项
  • Advanced security headers for additional security
  • 后端的混合内容修复器
  • More detailed feedback on the configuration page
  • Certificate expiration check: get an email when your SSL certificate is about to expire
  • 优质支援


  • 这挂件处理多数附有ssl 的Wordpress的问题,就像当你在反向 proxy/loadbalancer 背后,或当没有适当的标头可让WordPress 使用来侦测SSL。
  • 所有新进的请求将导向到https. 预设内部WordPress导向,但你也可以用一个.htaccess导向。
  • 站点 url 及本地 url 被改成 https。
  • 你不确定的内容可经由替换所有 http:// urls 为 https://, 被修复,除了超连结到其它网域之外。动态的,所以没有数据库被更改 (除了站点 url 及 本地 url)。

Check out other plugins developed by Really Simple Plugins as well: Complianz and Zip Recipes.

如果你有任何问题,或建议,请contact 我。 Really Simple SSL 是由 Really Simple Plugins 所开发.


翻译很容易被增加入here 若要翻译, 我可以将你加入翻译编辑者以改进翻译文。


  • 在活化之后,如果SSL被侦测到,您就可以启动SSL 。
  • 在设定页里流览你的配置
  • 扫瞄混合式内容。



  1. 作备份!
  2. 安装你的 SSL 认证
  3. 下载这插件
  4. 上载这插件到 wp-content/plugins 目录。
  5. 请到您 WordPress 管理中的 “plugin”, 然后点选启动。
  6. 您现将会看到一小指示要求您启动 SSL. 点取它并重新登入。



若需更多关于导向回圈,反激化,混合内容,错误等等的解说及文件, 请查寻 documentation


在一网站包含约有60.000 字元,由混合内容修护器造成的遅缓大约是0.00188 秒。若这对你太多负荷, 就用手动方式修护混合内容并在设定中将它反激化。

反安装 Really Simple SSL

这插件在开始作用前会检查您的认证,但是,比如说,您迁移网站到一非SSL环境,您将在后端被锁住。若您无法停用,请不要只是移除插件档案夹去反安装! 请跟循 instructions.


多数混合内容问题是由在 css 或 js 档里的 urls 造成的。
闗于如何找到混合内容更详细的指南请读 article.


若您在您的网站正经历导向回圈,请试 instructions.


是的。有一专用的网路设定网页你可以介于 网路启动 SSL 以及每页 SSL 之间切换。在给多重网站的插件的专用 pro 里,你可以忽略在网际网路阶层上所有为SSL做的网站设定,并可以在每站的网路目录启动和关闭 SSL 。 * Really Simple SSL它在 维持了一个大量的知识库。


I converted my old site with help of this plugin. I expected some problems, but everything went smoothly. Very easy and didn't have to think a lot about convert process or https itself. Highly recomending.
This add-on worked great for me. Helpful, informative and relevant information. Easy to use. Recommending this ad-on for anyone going from http to https.
As the name says , really simple SSL very well done for new users to get used to understanding SSL , all very well packed into one simple to use plugin. Thanks !
Read all 2,702 reviews

Contributors & Developers

“Really Simple SSL” is open source software. The following people have contributed to this plugin.


“Really Simple SSL” has been translated into 30 locales. Thank you to the translators for their contributions.

Translate “Really Simple SSL” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Optimized plusone count function
  • Disabled Javascript redirect by default
  • Fixed a bug in the setting highlight function where an undefined setting name could cause a warning


  • Fixed typo in trace_log() function call


  • Improved and added dashboard notices
  • Improved debug logging
  • Added option to dismiss all Really Simple SSL notices
  • Fixed a bug where other plugins buttons had their style reset


  • Added right-to-left text support
  • Show a plusone behind the notice that generated it
  • Added a dismiss text link to dismissible notices
  • Added highlighting to .htaccess redirect option after clicking on dashboard link
  • Added option to dismiss all notices
  • Added site health notice


  • Fix: some single sites setup were having issues with multisite files being included.


  • Fix: error in regex, cause a fatal error in cases where a plus one already was showing in the settings menu


  • Added update counter to Settings/SSL menu item if recommended settings aren’t enabled yet
  • Added WP-CLI support
  • Tweak: made some dashboard items dismissible
  • Tweak: added link on multisite networkwide activation notice to switch function hook to fix conversions hanging on 0%
  • Tweak: required WordPress version now 4.6 because of get_networks() version


  • Fix: fixed a bug where having an open_basedir defined showed PHP warnings when using htaccess.conf


  • Tweak: added support for Bitnami/AWS htaccess.conf file
  • Tweak: multisite blog count now only counts public sites
  • Tweak: changed rewrite rules flush time to 1-5 minutes
  • Tweak: improved multisite site count


  • Tweak: no longer shows notices on Gutenberg edit screens
  • Tweak: updated Google Analytics with link to SSL settings page
  • Fix: multisite blog count now only counts public sites


  • Tweak: added cool checkboxes
  • Tweak: .well-known/acme-challenge/ is excluded from .htaccess https:// redirect
  • Tweak: implemented transients for functions that use curl/wp_remote_get()
  • Tweak: improved mixed content fixer detection notifications
  • Tweak: removed review notice for multisite


  • Fix: Multisite network wide activation/deactivation cron not saving settings because user capability not set this early in the process.


  • Fix: fixed a bug in certificate detection
  • Tweak: added HTTP_X_PROTO as supported header
  • Tweak: split HTTP_X_FORWARDED_SSL into a variation which can be either ‘1’ or ‘on’
  • Tweak: improved certificate detection by stripping domains of subfolders.
  • Tweak: Multisite bulk SSL activation now chunked in 200 site blocks, to prevent time out issues on large multisite networks.
  • Tweak: a ‘leave review’ notice for new free users


  • Fix: untranslatable string made translatable.


  • Fix: removed anonymous function to maintain PHP 5.2 compatibility.


  • Tweak: mixed content fixer will no longer fire on XML content
  • Tweak: network menu on subsites now always shows to Super Admins
  • Tweak: flush rewrite rules upon activation is delayed by one minute to reduce server load


  • Fix: fixed an image containing uppercase characters, which can lead to the image not showing on some servers.
  • Fix: fixed an issue where the ‘data-rsssl=1’ marker wasn’t inserted when the tag was empty.


  • Tweak: Add privacy notice
  • Tweak: Set javascript redirect to false by default
  • Fix: Hide SSL notice on multisite for all subsites, and show only for “activate_plugins” cap users


  • 加入内建证书来登入 class-certificate.php 档案以便检查这网域是否出现在一般名字 以及/或者 是替代性部份的名字。
  • .htaccess 导向现在使用 $1 而不是 {REQUEST_URI}.
  • 在保留 SSL 设定中的 SSL 时, 加入一选项来关闭挂件 。
  • 加入一个过滤器来导向Javaschript程式。
  • 加入一个所推荐的侧边栏的插件。


  • Fix: 当主页不是SSL时,多重网站选项没显示出来。
  • Fix: 当检查 URL 现有blog 时,admin_url 及 site_url 过滤器成空的 blog_id。
  • Tweak: 加入评语来鼓力备份以便启动备忘录
  • 使用 Gutenberg.来测试这挂件


  • Fix: 在多重网站设定中的网页看不到选项”交换混合内容过滤器挂勾”
  • Tweak: 有一些错别字及大写体


  • 在多重式网站上,admin_url 强制现有blog URL’s http 即使现有blog 已载了https。当它们处于 http 而不是 https, 这将只会对其它 blog_urls 强制http 而非现有blog。


  • 已测试到 WP 4.9
  • 加入安全cookie的备忘录


  • 更改的混合内容从wp_print_footer_scripts 挂回关闭


  • 修护了在档案路径里的双斜线
  • 修护在启动通知里的错字
  • 微调:加入选项到未冲刷掉的重写规则
  • 修护:当FORCE_SSL_ADMIN被定义,避免强制 admin_url 到http


  • 微调: 设定为切换混合内容修护挂勾从暂时重导到初始
  • 修护: 在多重网站上唠叨无法适当的移除


  • 多重网站修护;由于一并入的admin_url and site_url 过滤器被删除了,请重新加入它们
  • 加入常数RSSSL_CONTENT_FIXER_ON_INIT 所以使用者才会为混合内容而持续使用这初始挂钩。


  • 微调: 移除JetPack fix,因为它现在并在JetPack 里
  • 微调: 移动混合内容修复器挂钩到 template_redirect
  • 修复: 更改了冲刷重写规则挂钩从 admin_init 为关闭,在 SSL 启动上。
  • 多重网站修复: 更改功能如检视 admin_url 及 site_url 是否应转回 http 或 https 来检查在home_url 中的 https 。
  • 微调: 明确指示混合内容修复器所拒绝的 json and xmlrpc 请求


  • 微调: 在多重网站的 home_url 以及site_url 加入一功能以检示当SSL在每站的基台被使用是否应该为 http 或 https
  • 微调:加入通知以说明当 Really Simple SSL 逐站启动时将不会有网路目录。
  • 微调: 为新的多重网站加入挂钩这样新网站就会在网际网路启动时像 SSL 般启动
  • 微调:限制JetPack 在埠80的名单微调到反转proxy 伺服器。
  • 微调: 新建一专用的 rest Ali 导向常数以防使用者要避免rest api从重导向到https.
  • 修复:在多重网站上的解除SSL启动通知运作不常


  • 反转 wp_safe_redirect 成 wp_redirect, 因为wp_safe_redirect 产生一个导向到 wp-login.php 即使主url 是domain.com以及请求url 是


  • 没有功能性上的改变,版本改变是因为 WordPress 没有执行版本更新的动作。


  • 修护:在混合内容修护器修护问题其中优化的 html 配对会配合交叉元素
  • 以wp_safe_redirect更换wp_redirect
  • 在wp_rest_api加入强制SSL


  • Tweak: configuration more function


  • Added multisite settings page
  • Added filter for .htaccess code output
  • Increased user capability to “activate_plugins”
  • Added SSL_FORWARDED_PROTO = 1 in addition to SSL_FORWARDED_PROTO = on as supported SSL recognition variable.


  • Removed curl in favor of wp_remote_get


  • Fastest cache compatibility fix


  • Multisite tweaks


  • Removed automatic insertion of .htaccess redirects. The .htaccess redirects work fine for most people, but can cause issues in some edge cases.
  • Added option to explicitly insert .htaccess redirect
  • Added safe mode constant RSSSL_SAFE_MODE to enable activating in a minimized way
  • Fix: RLRSSSL_DO_NOT_EDIT_HTACCESS constant did not override setting correctly when setting was used before.
  • Dropped cache flushing on activation, as this does not always work as expected


  • Tweak: changes testurl to the function test_url()


  • version nr fix


  • Reverted some changes to 2.4.3, as it was causing issues for some users.


fix: Adjusted selection order of .htaccess rules, preventing redirect loops


  • Changed .htaccess redirects to use only one condition


  • removed file_get_contents function from class_url.php, as in some cases this causes issues.


  • Added help tooltips
  • Fix: typos in explanations
  • Added detected server to debug Log
  • Added test folder for CloudFlare
  • Added htaccess redirect to use all available server vars for checking SSL.


  • Tweak: Improved support for cloudflare
  • Tweak: Added support for Cloudfront, thanks to Sharif Alexandre
  • Fix: Prevent writing of empty .htaccess redirect
  • Tweak: Added option for 301 internal wp redirect
  • Tweak: Improved NGINX support
  • Tweak: Added support for when only the $_ENV[HTTPS] variable is present
  • Fix: Mixed content fixing of escaped URLS


  • Removed banner in admin


  • Tweak: Added reload over https link for when SSL was not detected
  • Fixed: After reloading page when the .htaccess message shows, .htaccess is now rewritten.
  • Tweak: Removed Yoast notices
  • Tested for WP 4.7
  • Fixed: bug where network options were not removed properly on deactivation
  • Tweak: Changed mixed content marker to variation without quotes, to prevent issues with scripting etc.


  • Tweak: improved HSTS check


  • Fixed: added a version check on wp_get_sites / get_sites to get rid of deprecated function notice, and keep backward compatibility.
  • Fixed: A bug in multisite where plugin_url returned a malformed url in case of main site containing a trailing slash, and subsite not. Thanks to @gahapati for reporting this bug.
  • Tweak: Added button to settings page to enable SSL, for cases where another plugin is blocking admin notices.
  • Tweak: Rebuilt the mixed content fixer, for better compatibility
  • Tweak: Improved the mixed content marker on the front-end, so it’s less noticeable, and won’t get removed by minification code.


  • Fixed: Clearing of WP Rocket cache after SSL activation causing an error
  • Fixed: Clearing of W3TC after SSL activation did not function properly


  • Re-inserted Jetpack fix.


  • Requires at least changed back to 4.2, as the function that this was meant for didn’t make it in current release yet.


  • Improved request method in url class
  • Added check if .htaccess actually exists in htaccess_contains_redirect_rules()
  • Made activation message more clear.


  • Tested for 4.6
  • Tweak: changed check for htaccess redirect from checking the RSSSL comments to checking the redirect rule itself
  • Fix: htaccess not writable message not shown anymore when SSL not yet enabled
  • Tweak: extended mixed content fixer to cover actions in forms, as those should also be http in case of external urls.
  • Tweak: added safe domain list for domains that get found but are no threat.
  • Tweak: added filter for get_admin_url in multisite situations, where WP always returns an https url, although the site might not be on SSL
  • Tweak: htaccess files and wpconfig are rewritten when the settings page is loaded


  • Fix: removed internal WordPress redirect as it causes issues for some users.
  • Tweak: improved url request method


  • Tweak: Fallback redirect changed into internal wp redirect, which is faster
  • Tweak: When no .htaccess rules are detected, redirect option is enabled automatically
  • Tweak: Url request falls back to file_get_contents when curl does not give a result


  • Updated screenshots


  • Fixed: missing priority in template_include hook caused not activating mixed content fixer in some themes


  • Fixed: javascript redirect insertion


  • Tweak: load css stylesheet only on options page and before enabling ssl
  • Tweak: mixed content fixer triggered by is_ssl(), which prevents fixing content on http.
  • Start detection and configuration only for users with “manage_options” capability


  • Fixed bug in force-deactivate script


  • Changed SSL detection so test page is only needed when not currently on SSL.
  • Some minor bug fixes.


  • Removed “activate ssl” option when no ssl is detected.
  • Optimized emptying of cache
  • Fixed some bugs in deactivation and activation of multisite


  • Gave more control over activation process by explicitly asking to enable SSL.
  • Added a notice if .htaccess is not writable


Fixed a bug in SSL detection


Changed followlocation in curl to an alternative method, as this gives issues when safemode or open_basedir is enabled.
Added dismissable message when redirects cannot be inserted in the .htaccess


Fixed bug in logging of curl detection


Security fixes in ssl-test-page.php


Bugfix with of insecure content fixer.


Added a check if the mixed content fixer is functioning on the front end
Fixed a bug where multisite per_site_activation variable wasn’t stored networkwide
Added clearing of wp_rocket cache thans to Greg for suggesting this
Added filter so you can remove the really simple ssl comment
Fixed a bug in the output buffer usage, which resolves several issues.
Added code so JetPack will run smoothly on SSL as well, thanks to Konstantin for suggesting this


  • To prevent lockouts, it is no longer possible to activate plugin when wp-config.php is not writable. In case of loadbalancers, activating ssl without adding the necessary fix in the wp-config would cause a redirect loop which would lock you out of the admin.
  • Moved redirect above the WordPress rewrite rules in the htaccess file.
  • Added an option to disable the fallback javascript redirection to https.


Brand new content fixer, which fixes all links on in the source of your website.


  • Roll back of mixed content fixer.


Improved the mixed content fixer. Faster and more effective.


Edited the wpconfig define check to prevent warnings when none are needed.


  • Extended detection of homeurl and siteurl constants in wp-config.php with regex to allow for spaces in code.
  • Changed text domain to make this plugin language packs ready
  • Added 404 detection to SSL detection function, so subdomains can get checked properly on subdomain multisite installs


Added slash in redirect rule
small bugfixes


documentation update


  • Added multisite support for the missing https server variable issue
  • Improved curl connection script
  • Added French translation thanks to Cedric


  • Small bug fixes


  • Added per site activation for multisite, but excluded this option for subfolder installs.
  • Added script to easily deactivate the plugin when you are locked out of the WordPress admin.
  • Added support for a situation where no server variables are given which can indicate SSL, which can cause WordPress to generate errors and redirect loops.
  • Removed warning on WooCommerce force SSL after checkout, as only unforce SSL seems to be causing problems
  • Added Russian translation, thanks to xsascha
  • Improved redirect rules in the .htaccess
  • Added option te disable the plugin from editing the .htaccess in the settings
  • Fixed a bug where multisite would not deactivate correctly
  • Fixed a bug where insecure content scan would not scan custom post types


  • Made WooCommerce warning dismissable, as it does not seem to cause issues
  • Fixed a bug caused by WP native plugin_dir_url() returning relative path, resulting in no SSL messages


  • Fixed a bug where example .htaccess rewrite rules weren’t generated correctly
  • Added WooCommerce to the plugin conflicts handler, as some settings conflict with this plugin, and are superfluous when you force your site to SSL anyway.
  • Excluded transients from mixed content scan results


  • Fixed a bug where script would fail because curl function was not installed.
  • Added debug messages
  • Improved FAQ, removed typos
  • Replaced screenshots


  • Improved user interface with tabs
  • Changed function to test SSL test page from file_get_contents to curl, as this improves response time, which might prevent “no SSL messages”
  • Extended the mixed content fixer to replace src=”http:// links, as these should always be https on an SSL site.
  • Added an error message in case of force rewrite titles in Yoast SEO plugin is used, as this prevents the plugin from fixing mixed content


  • Added support for loadbalancer and is_ssl() returning false: in that case a wp-config fix is needed.
  • Improved performance
  • Added debugging option, so a trace log can be viewed
  • Fixed a bug where the rlrsssl_replace_url_args filter was not applied correctly.


  • Fixed an issue where in some configurations the replace url filter did not fire


  • Added the force SSL option, in cases where SSL could not be detected for some reason.
  • Added a test to check if the proposed .htaccess rules will work in the current environment.
  • Readded HSTS to the htaccess rules, but now as an option. Adding this should be done only when you are sure you do not want to revert back to http.


  • Improved instructions regarding uninstalling when locked out of back-end


  • Removed HSTS headers, because it is difficult to roll back.


  • Added the possibility to prevent htaccess from being edited, in case of redirect loop.


  • Refined SSL detection
  • Bugfix on deactivation of plugin


  • Fixed an SSL detection issue which could lead to redirect loop


  • Improved redirect rules for .htaccess


  • Now plugin only changes .htaccess when one of three preprogrammed ssl types was recognized.
  • Simplified filter use to add your own urls to replace, see f.a.q.
  • Default javascript redirect when .htaccess redirect does not succeed


  • Fixed bug where number of options with mixed content was not displayed correctly


  • limited the number of files, posts and options that can be show at once in the mixed content scan.


  • Added version control to the .htaccess rules, so the .htaccess gets updated as well.
  • Added detection of loadbalancer and cdn so .htaccess rules can be adapted accordingly. Fixes some redirect loop issues.
  • Added the possibility to disable the auto replace of insecure links
  • Added a scan to scan the website for insecure links
  • Added detection of in wp-config.php defined siteurl and homeurl, which could prevent from successful url change.
  • Dropped the force ssl option (used when not ssl detected)
  • Thanks to Peter Tak, PTA security for mentioning the owasp security best practice in .htaccess,


  • Added 301 redirect to .htaccess for seo purposes


  • Fixed some typos in readme
  • added screenshots
  • fixed a bug where on deactivation the https wasn’t removed from siturl and homeurl


  • Added SSL detection by opening a page in the plugin directory over https
  • Added https redirection in .htaccess, when possible
  • Added warnings and messages to improve user experience
  • Added automatic change of siteurl and homeurl to https, to make backend ssl proof.
  • Added caching flush support for WP fastest cache, Zen Cache and W3TC
  • Fixed bug where siteurl was used as url to fix instead of homeurl
  • Fixed issue where url was not replaced on front end, when used url in content is different from home url (e.g. as homeurl and in content)
  • Added filter so you can add cdn urls to the replacement script
  • Added cdn to standard replacement script, as it is often used without https.


  • Improved installation instructions