My client have a domain called "https://buzzbehind.com/" (Main Domain). Also there are some sub domains. One of the sub domain url is "http://buzzmembers.buzzbehind.com" (BuzzMembers).
Actually a main domain and sub domains are having SSL certificates. So all of them working when we hitting url with "https" except BuzzMembers".
If I tried to hit the URL of BuzzMembers with https , it is showing me the layout of different sub domain BuzzAdmin32 of Main Domain. But the url is correct.
Htaccess file of Buzzbehind(Main Domain):
DirectoryIndex home.php index.html index.htm index.php
RewriteEngine On
RewriteRule ^(promotionalpage)/(index)/([^/]*)/([^/]*)/([^/]*)/$ https://buzz.buzzbehind.com/promotionalpage/index/$3/$4/$5/ [r=301,L]
RewriteRule ^(productdetails)/(index)/([^/]*)/([^/]*)/([^/]*)/$ https://buzz.buzzbehind.com/productdetails/index/$3/$4/$5/?current_url=https://buzz.buzzbehind.com/promotionalpage/index/$4/$3/$5 [r=301,L]
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Htaccess file of BuzzMember:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [R=301,QSA,NC,L]
Htacess of BuzzAdmin32:
#RewriteEngine on
#RewriteCond $1 !^(index\.php|images|robots\.txt)
#RewriteRule ^(.*)$ /index.php/$1 [L]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?$1 [L]
</IfModule>
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
RewriteCond %{HTTP_HOST} ^www\.buzzadmin32\.buzzbehind\.com$
RewriteRule ^/?$ "http\:\/\/buzzadmin32\.buzzbehind\.com\/" [R=301,L]
I need to run the BuzzMembers site with https. Now it is working only with http. Kindly advice me.
BuzzMembers Framework : Codeigniter
Thanks in advance.