开发者 | edhicks |
---|---|
更新时间 | 2024年11月13日 19:03 |
PHP版本: | 5.3 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
Plugins > Add New
in your WP Admin dashboard.blucube simple ssl redirects
.Install
button, then Activate
.blucube simple ssl redirects
in the WordPress Plugin Directory, and download it.simple-ssl-redirects
directory to your /wp-content/plugins/
directory.No. This plugin assumes you already have an SSL certificate installed, and that you are simply trying to ensure that all traffic uses HTTPS.
No, it does not fix any mixed content issues (resources such as scripts or images requested by your site using non-SSL URLs, which can cause warnings/broken padlock icons in address bars/loading of the resources being blocked) - although it might do so in the future.
The HTTP Strict Transport Security (HSTS) response header informs browsers that the site should only be accessed using HTTPS, and that any future attempts to access it using HTTP should automatically be converted to HTTPS.
Strict-Transport-Security reference on MDN
= What does "Force canonical domain" mean?
Depending on your configuration, your website might be accessible via both yourdomain.com
and www.yourdomain.com
. While using www. or not is personal preference, it's usually a good idea to make sure that all visitors access your site using whichever hostname you have chosen.
Selecting this option achieves this by applying a 301 redirection that makes sure that requests use the hostname you have specified in WordPress Admin -> General Settings
.
This plugin checks your SSL certificate and warns you if it detects any issues, but if you enable it without a properly configured SSL certificate then you could end up not being able to access your website. If that happens please try the following:
define('DISABLE_SIMPLE_SSL_REDIRECTS', true);
# BEGIN Simple SSL Redirects
and
# END Simple SSL Redirects