Ready to get started?Download WordPress

Plugin Directory

HTTPS domain alias

Enable your site to have a different domains for HTTP and HTTPS.

  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.


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 <domain.tld> 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

Requires: 3.8 or higher
Compatible up to: 3.9.1
Last Updated: 2014-6-16
Downloads: 978


5 stars
5 out of 5 stars


0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,1,1