Really Simple SSL

Description

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

三个简单的设定步骤:

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

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

Really Simple SSL 也在GitHub

爱上 Really Simple SSL?

希望这插件程式能结省你数小时的工作。若你想要这插件程式持续发展的支持, 你可能得考量买premium,这里面有包括一些酷的功能。

专业功能

  • 混合内容扫瞄,这是当你还没有绿锁时,显示你该如何处理。
  • 启动 HTTP 严密传输安全系统的选项
  • 为 HSTS 预载入列表而佩置你网站的选项
  • 后端的混合内容修复器
  • 在配置页里有更多的反馈与回应。
  • 检察认证的到期时间: 当你的 SSL 认证快过期时请求取一电子邮件。
  • 优质支援

这些插件究竟是做什么的

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

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

想要有这插件在你的语言里吗?

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

Screenshots

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

Installation

要安装这插件:

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

FAQ

安装程序

要安装这插件:

  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它在 https://www.really-simple-ssl.com 维持了一个大量的知识库。

Reviews

Easiest Plugin I’ve Ever Used

I had 5 existing sites I was switching from http to https and three worked fine, one worked kind of OK, and one wasn’t working. I installed this plugin and it fixed everything at the click of a button – I wish I’d found it earlier. Brilliant plugin and I’m very happy to have found this. Thank you for making it so simple.

Simple to use and powerful

This plugin replaced the functionality of 2 of our old plugins by providing https and a mixed content fixer. Also, if you are behind a load-balancer you will be extremely grateful for the fix they include. Great plugin that does exactly what it says.

super easy

Super easy to use (just activate) and makes things work *magic*

Read all 377 reviews

Contributors & Developers

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

Contributors

“Really Simple SSL” has been translated into 16 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.

Changelog

3.0.1

  • 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

3.0

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

2.5.26

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

2.5.25

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

2.5.24

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

2.5.23

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

2.5.22

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

2.5.21

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

2.5.20

  • 微调: 持续不断的RSSSL_DISMISS_ACTIVATE_SSL_NOTICE以允许使用者隐藏通告。
  • 微调: 设定为切换混合内容修护挂勾从暂时重导到初始
  • 修护: 在多重网站上唠叨无法适当的移除

2.5.19

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

2.5.18

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

2.5.17

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

2.5.16

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

2.5.15

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

2.5.14

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

2.5.13

  • Tweak: configuration more function

2.5.12

  • 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.

2.5.11

  • Removed curl in favor of wp_remote_get

2.5.10

  • Fastest cache compatibility fix

2.5.9

  • Multisite tweaks

2.5.8

  • 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

2.5.7

  • Tweak: changes testurl to the function test_url()

2.5.6

  • version nr fix

2.5.5

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

2.5.4

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

2.5.3

  • Changed .htaccess redirects to use only one condition

2.5.2

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

2.5.1

  • 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.

2.5.0

  • 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

2.4.3

  • Removed banner in admin

2.4.2

  • 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.

2.4.1

  • Tweak: improved HSTS check

2.4.0

  • 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.

2.3.14

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

2.3.13

  • Re-inserted Jetpack fix.

2.3.12

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

2.3.11

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

2.3.10

  • 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

2.3.9

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

2.3.8

  • 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

2.3.7

  • Updated screenshots

2.3.6

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

2.3.5

  • Fixed: javascript redirect insertion

2.3.4

  • 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

2.3.3

  • Fixed bug in force-deactivate script

2.3.2

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

2.3.1

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

2.3.0

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

2.2.20

Fixed a bug in SSL detection

2.2.19

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

2.2.18

Fixed bug in logging of curl detection

2.2.17

Security fixes in ssl-test-page.php

2.2.16

Bugfix with of insecure content fixer.

2.2.13

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

2.2.12

  • 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.

2.2.11

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

2.2.10

  • Roll back of mixed content fixer.

2.2.9

Improved the mixed content fixer. Faster and more effective.

2.2.8

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

2.2.7

  • 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

2.2.6

Added slash in redirect rule
small bugfixes

2.2.3

documentation update

2.2.2

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

2.2.1

  • Small bug fixes

2.2.0

  • 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

2.1.18

  • 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

2.1.17

  • 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

2.1.16

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

2.1.15

  • 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

2.1.14

  • 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.

2.1.13

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

2.1.12

  • 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.

2.1.11

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

2.1.10

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

2.1.9

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

2.1.7

  • Refined SSL detection
  • Bugfix on deactivation of plugin

2.1.6

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

2.1.4

  • Improved redirect rules for .htaccess

2.1.3

  • 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

2.1.2

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

2.1.1

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

2.1.0

  • 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 https://www.owasp.org/index.php/HTTP_Strict_Transport_Security in .htaccess,

2.0.7

  • Added 301 redirect to .htaccess for seo purposes

2.0.3

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

2.0.0

  • 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. http://www.domain.com as homeurl and http://domain.com in content)
  • Added filter so you can add cdn urls to the replacement script
  • Added googleapis.com/ajax cdn to standard replacement script, as it is often used without https.

1.0.3

  • Improved installation instructions