Linux 软件免费装
Banner图

HTTPS Domain Alias

开发者 ottok
zuige
onnimonni
更新时间 2020年7月28日 16:06
捐献地址: 去捐款
PHP版本: 3.7 及以上
WordPress版本: 4.9.4
版权: GPLv3
版权网址: 版权信息

标签

ssl https domain seravo tls alias

下载

1.4.3

详情介绍:

This plugin is useful e.g. if you have a wildcard SSL/TLS certificate for server but not for each site. If the site is normally at say http://example.org/ and you want to have the admin area https protected, but you don't have a SSL/TLS certificate so that https://example.org/ would work, you can define another domain for secure connections. For example instead of https://example.org/wp-login.php or https://example.org/wp-admin/ the user is redirected to https://example.seravo.com/wp-login.php or https://example.seravo.com/wp-admin/. This plugin works with both normal WordPress installations and WordPress Network installation and is compatible with the WordPress MU Domain Mapping plugin. The code is optimized to be fast and does not for example do any database lookups or use cookies. This plugin is made by Seravo Oy, which specializes in open source support services and among others is the only company in Finland to provide WordPress Premium Hosting. Source available at https://github.com/Seravo/wp-https-domain-alias

安装:

  1. Upload plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Make sure the wp-config.php defines the needed constants.
Example: define('FORCE_SSL_ADMIN', true); define('HTTPS_DOMAIN_ALIAS', 'example.org'); The plugin scenario assumes the site domain is example.com but there is no https certificate for it. Instead there is a https certificate for example.org, which has been defined as the HTTPS_DOMAIN_ALIAS. In a WordPress Network installation the HTTPS_DOMAIN_ALIAS can be defined as *.example.org and then will be redirected to .example.org. This plugin is designed to be compatible with the WordPress MU Domain Mapping plugin. Possible values of $location when calling this function

常见问题:

Does this work for WordPress Network?

Yes, since version 0.4.

Where is the UI?

This plugin has no visible UI, the magic happens automatically if the plugin is active.

What does FORCE_SSL_ADMIN do?

See http://codex.wordpress.org/Administration_Over_SSL Note that defining FORCE_SSL_LOGIN is not needed.

更新日志:

Note that complete commit log is available at https://github.com/Seravo/wp-https-domain-alias/commits/master 1.4.2 Bugfix: Only convert non-relative links to their root relative form 1.4.1 Don't try to rewrite relative urls 1.4 1.3.2 Added tests 1.3 1.2.1 1.2 1.1 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1