Post by unigroove » Thu Oct 21, 2021 1:06 am

Hi all,
Currently, my opencart webshop is not secured by SSL and I've been asked to install such a certificate to make sure all browsers display my webshop. So' I've installed a free certificate using Let's Encrypt, which is offered by my hosting provider. As soon as SSL is enabled, my webshop is displayed incorrectly, as if there is no layout. It is also not possible for me to login when the SSL certificate is installed.

Currently, I'm running opencart 3.0.2.0. As the newest version is 3.0.3.8, I'm hoping upgrading to the latest version will eliminate the above problems. Can anybody tell me whether it will, or whether the problem is caused by something else?

Thanks,

Jonathan

Newbie

Posts

Joined
Thu Aug 28, 2014 9:18 pm

Post by cyclops12 » Thu Oct 21, 2021 4:13 am

this may be of help
viewtopic.php?t=64685

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by JNeuhoff » Thu Oct 21, 2021 7:12 pm

Have you updated your config.php and admin/config.php accordingly for the HTTP_SERVER and HTTP_CATALOG? Their values need to start with 'https://'.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by hpwebdesign » Tue Jan 11, 2022 9:39 am

make sure ssl is installed correctly by visiting the website with https://, if there is a key sign it means the installation was successful.
Image

then change config url in admin/config.php and php configuration to https
Image

If necessary, you can also force visitors to always visit the https version of the web by adding the following code to the .htaccess file

Code: Select all

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

Attachments

2022-01-11_2.png

2022-01-11_2.png (20.09 KiB) Viewed 408 times

2022-01-11_3.png

2022-01-11_3.png (18.52 KiB) Viewed 408 times


HP Web Design
http://hpwebdesign.io
Opencart Extension Development | OpenCart Professional Services | OpenCart Tutorials


User avatar
New member

Posts

Joined
Wed Aug 15, 2018 6:58 am
Location - Yogyakarta
Who is online

Users browsing this forum: No registered users and 57 guests