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
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
make sure ssl is installed correctly by visiting the website with https://, if there is a key sign it means the installation was successful.
then change config url in admin/config.php and php configuration to https
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
then change config url in admin/config.php and php configuration to https
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 (20.09 KiB) Viewed 408 times
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
Who is online
Users browsing this forum: No registered users and 57 guests