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

Noted That:

  • To install correctly this https-domain-alias.zip.
  • Fisrt Download the https-domain-alias.zip to your computer
  • Extract/Open https-domain-alias.zip to Your Computer.
  • Then, Find readme.txt file inside https-domain-alias.zip and Open readme.txt.
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the the Tips Below.

Start the Tips:

1. First Download "https-domain-alias.zip" Plugin to your Local Computer. (Click Download)

2. Then, Login to your "yourdomain.com/wp-admin" Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on "Plugins" + "Add New" from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse "https-domain-alias.zip" Downloaded plugin from your computer, Where you downloaded https-domain-alias.zip According to Step – 1 Above then, click on "Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on "Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. "HTTPS Domain Alias" folder is added on left sidemenu. Now, Click on "HTTPS Domain Alias" folder.

   Noted that: If you do not see "HTTPS Domain Alias" folder on left sidemenu then, see at left sidemenu "Settings" or "Tools".

8. Now you configure yourself oR Watch video tutorial below about HTTPS Domain Alias Configurtions and Settings or How to work "HTTPS Domain Alias" in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to "Plugins" + "Installed Plugin" from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find "HTTPS Domain Alias" Activated Plugin from Plugin List.
  4. Then, Click on "Settings" from Plugin that is HTTPS Domain Alias
  5. Now, Edit/Add/Config the setting and Click on "Save Changes" button,
WP Plugin Setting



Guide
  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

  • http://example.com
  • https://example.com <- the case where https fails and we want to avoid
  • http://example.example.org
  • https://example.example.org <- the case where https works

domains, http, https, different, have, your, site, enable,

Name

Reffered: https://wordpress.org/

Share on: