Post by memop71 » Tue Nov 25, 2014 8:10 pm

Hi:

Using opencart 2.0. I Go to Systems > Settings > Server > SSL: and Check YES on radio button for SSL.
After that go to config.php on root and config.php on Admin file, and add "S" respectively:

config.php on root
define('HTTPS_SERVER', 'httpS://opencart.mydomain.com/');

config.php on Admin
define('HTTPS_SERVER', 'httpS://opencart.mydomain.com/admin/');
define('HTTPS_CATALOG', 'httpS://opencart.mydomain.com/');

I have two certificates, one for wwww. and one without www.

I have problems on www.mysite.com/admin

can you help me please?

Thanks

Newbie

Posts

Joined
Thu Oct 30, 2014 11:24 pm

Post by uksitebuilder » Tue Nov 25, 2014 9:54 pm

Well, your SSL Cert is either www.yourdomain.com or domain.com but your config is using subdomains ?

Does your certificate cover subdomains ?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by memop71 » Sat Nov 29, 2014 5:54 pm

Hi; Thanks for your answer. I need configure only https://www.mydomain.com and https://mydomain.com

Thanks for your support

Newbie

Posts

Joined
Thu Oct 30, 2014 11:24 pm

Post by cwswebdesign » Tue Dec 02, 2014 6:16 am

memop71 wrote:Hi; Thanks for your answer. I need configure only https://www.mydomain.com and https://mydomain.com

Thanks for your support
You should only run the shop with the www or without it. Not both. Search engines see this as 2 different sites so it's best to just put a 301 redirect in your .htaccess file. Not sure which hosting control panel you're using but most of the time, you can't install 2 certificates like this.

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA
Who is online

Users browsing this forum: No registered users and 112 guests