Post by stevieboy1101 » Mon Feb 25, 2019 11:22 pm

Hello,

Spent a couple of hours reading help on the forum in regards to SSL this website cufflinkpeople co uk. It works other than the image links namely in the product grid and home page etc which remain http://. This is a problem because it takes the user off the secured layer. I am using OPENCART 3 Journal 3 i get different results when i use the default theme.

This has to be a simple fix but i cant work out how to send the image links on to the secured socket layer. This also affects the shopping cart link top right.

I am using fresh htaccess file with following change

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

The two config files are configured with https

Newbie

Posts

Joined
Tue Feb 10, 2015 7:07 pm

Post by selmark.advertising » Tue Feb 26, 2019 5:40 am

You should use the default .htaccess file to make sure everything works. You should attempt http to https redirect after you fix the secure media delivery.

Edit config.php and admin/config.php and set both HTTP_SERVER and HTTPS_SERVER to start with https://
This will force all links to start with https:// no matter if you choose SSL or not in admin.


Posts

Joined
Mon Feb 25, 2019 6:53 pm

Post by paulfeakins » Tue Feb 26, 2019 6:48 pm

selmark.advertising wrote:
Tue Feb 26, 2019 5:40 am
You should use the default .htaccess file to make sure everything works. You should attempt http to https redirect after you fix the secure media delivery.
I think it would be better to find where the http links are being output in the templates and change them to https there.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by selmark.advertising » Tue Feb 26, 2019 9:42 pm

mr.
paulfeakins wrote:
Tue Feb 26, 2019 6:48 pm
paulfeakins
is correct, the problem might be that you've defined links using http in Journal3


Posts

Joined
Mon Feb 25, 2019 6:53 pm
Who is online

Users browsing this forum: No registered users and 45 guests