Answer the question
In order to leave comments, you need to log in
Why does https "work" only on the homepage?
Opencart 2.3
1) I received an SSL certificate from the host (free Let's Encrypt)
2) in .htaccess I wrote:
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule (.*) https://%{HTTP_HOST}% {REQUEST_URI } [R=301,L]
3) in config.php
HTTPS
define('HTTPS_SERVER', ' https://site.ru/ ')
4) in admin/config.php
HTTP
define('HTTP_SERVER', ' https://site.ru/admin/ ');
define('HTTP_CATALOG', ' https://site.ru/ ');
HTTPS
define('HTTPS_SERVER', ' https://site.ru/admin/ ');
define('https://site.ru/ ');
5) in the admin panel of the site settings-server clicked "use SSL"
As a result, when I enter the https:// address of the site, then everything is OK - the main page opens, and there is a "lock" in opera and chrome. But the transition to any page - and already instead of the lock the inscription "unreliable", including if I return to the main page back.
The site is new, I haven't done anything with seo yet, if it has anything to
do with it What else is required for https to work?
Answer the question
In order to leave comments, you need to log in
at least test this:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question