该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP SSL Redirect

描述

WP SSL Redirect simply forces the SSL on your WordPress website by applying a 301 redirect from the HTTP path to HTTPS path. Please note that this plugin doesn’t install or configure any SSL certificate, instead it simply applies a 301 redirect to force the SSL on a WordPress website where a valid SSL is already properly installed.

1.3

  • Added options to force www or non-www

1.3.1

  • A minor bug fix regarding query vars

1.3.2

  • Fixed a major bug related to sub-directory installations

1.4

  • Rewrote the redirection code to make it even simpler
  • Disabled the website URL update in the database

1.5

  • Bug fixes

1.6

  • Compatibility test with WordPress 6.1

常见问题

Does this plugin install or configure SSL?

No.

Does this plugin make any changes to the file system or database?

No changes are made to file system or the database.

How does WP SSL Redirect perform the redirect?

The plugin makes use of $_SERVER array to check either the URL is accessed over HTTPS or HTTP. If the request is made over HTTP, then the plugin sends a 301 redirect header and performs the redirect to the HTTPS version of the same URL.

301 Redirect is Not Working

If WP_SITEURL and WP_HOME are hardcoded in your WordPress website’s wp-config.php file, then uncomment or delete these two constants, otherwise WP SSL Redirect’s 301 redirect may not work properly.

评价

2018年3月22日
So I was using Really Simple SSL, which is nice because it has more onsite features, but I NEEDED this plugin to force www to non www and it handles the SSL so, I was able to deactivate the redirection features of Really Simple SSL and just use WP SSL Redirect. This was great, because that meant I didn't have to edit my .htaccess and risk it being overwritten later by a plugin or by saving the permalinks settings or something unknown to me.
2017年11月25日 1 回复
After I deactivated this plugin I couldn't use WordPress, I can not sign in again because it is automatically redirecting to another page that is not related to my WordPress site, on the other hand I asked the author to help me to remove codes or database tables but he did not answer my questions.
2017年5月23日
I was struggling to apply the redirect using htaccess file and WP SSL Redirect saved my day. Thanks for the devs' efforts.
阅读所有5条评价

贡献者及开发者

“WP SSL Redirect” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP SSL Redirect”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志