Post by mminten » Tue Apr 21, 2020 2:51 am

I have two stores, one regular and one wholesale.

Retail Example URL: https://www.myfakestoreurl.com/
Wholesale Example URL: https://wholesale.myfakestoreurl.com/

The regular store works fine as well as the wholesale store. The problem is if I go to http://wholesale.myfakestoreurl.com/ or http://www.wholesale.myfakestoreurl.com/ it just shows the retail website and doesn't take the user to https://wholesale.myfakestoreurl.com/. This is very confusing for users and the site owner.

I have the url in settings set to https://wholesale.myfakestoreurl.com/ and SSL is on. Is there a way to force the SSL website or easily redirect the other sites to the SSL site?

Thanks, Matt

Active Member

Posts

Joined
Tue Nov 20, 2012 9:33 am


Post by straightlight » Tue Apr 21, 2020 3:08 am


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by victorj » Tue Apr 21, 2020 4:54 am

You will have to use a rewrite in your htacces to direct traffic from http to https
if your shop does not use www in front of your domain name you could add this rule in your .htaccess file

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteCond %{HTTPS} Off [NC]
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L,R=301]

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by cedcommerceteam » Tue Apr 21, 2020 1:29 pm

mminten wrote:
Tue Apr 21, 2020 2:51 am
I have two stores, one regular and one wholesale.

Retail Example URL: https://www.myfakestoreurl.com/
Wholesale Example URL: https://wholesale.myfakestoreurl.com/

The regular store works fine as well as the wholesale store. The problem is if I go to http://wholesale.myfakestoreurl.com/ or http://www.wholesale.myfakestoreurl.com/ it just shows the retail website and doesn't take the user to https://wholesale.myfakestoreurl.com/. This is very confusing for users and the site owner.

I have the url in settings set to https://wholesale.myfakestoreurl.com/ and SSL is on. Is there a way to force the SSL website or easily redirect the other sites to the SSL site?

Thanks, Matt
Hello there,

Hope you are doing well.

Both the websites are not loading issue, it says that server ip is not found, please have a look at screenshot. Your site may be temporarily down or it may have moved permanently to a new web address.

Thanks!!!

Attachments

Screenshot at 2020-04-21 10-48-44.png

Screenshot at 2020-04-21 10-48-44.png (70.63 KiB) Viewed 299 times

Screenshot at 2020-04-21 10-49-18.png

Screenshot at 2020-04-21 10-49-18.png (70.63 KiB) Viewed 299 times


Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool


User avatar
Active Member

Posts

Joined
Wed Aug 09, 2017 9:02 pm
Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 248 guests