Post by KSOMA » Sat Mar 16, 2019 11:12 pm

Hi, I am using Open Cart 3 on a site with working SSL however although the sever addrerss for the store is set to https://..... and opens correctly with padlock the button links for categories when added are http://.... so when clicked no padlock etc I have Use SSL enabled in the store settings

Any ideas how to fix this?

Newbie

Posts

Joined
Fri Jul 06, 2018 7:45 pm

Post by ADD Creative » Sun Mar 17, 2019 2:15 am

Are HTTP_SERVER and HTTPS_SERVER set the https version or your domain in your config.php?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by EvolveWebHosting » Wed Mar 20, 2019 11:54 pm

Have you tried adding a 301 redirect in your .htaccess file to force SSL?

Under RewriteBase / you can try this:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

2 Week FREE Trial of our Shared Hosting plans (DIrectAdmin or cPanel) for new customers
2 Week FREE Trial of Astra Firewall and Malware Scanner
Visit our website for full details and to start your trial today - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA
Who is online

Users browsing this forum: No registered users and 22 guests