It is forced to use https, through cloudflare, because of this site is completely "naked", what could be the problem? It seems everything is fine in configs, there is a tick in front of SSL in the admin panel

// HTTP define('HTTP_SERVER', 'http://site.com/admin/'); define('HTTP_CATALOG', 'http://site.com/'); // HTTPS define('HTTPS_SERVER', 'https://site.com/admin/'); define('HTTPS_CATALOG', 'https://site.com/'); 

enter image description here

  • What are the errors in the browser console? - Andrew Hobbit

1 answer 1

  • Config config.php : // HTTP define ('HTTP_SERVER', ' https://example.com/ '); // https define ('HTTPS_SERVER', ' https://example.com/ '); define ('HTTP_IMAGE', ' https://example.com/image/ ');
  • Specify to use https in the OC settings: enter image description here
  • Redirecting from http to https, for example in .htaccess :

    RewriteCond% {HTTP: SSL}! = 1 [NC] RewriteRule ^ (. *) Https://site.com/ $ 1 [L, R = 301] Immediately after RewriteBase /

  • We search in the template and content on the site where links are used, to pages and resources, of the form http: // and correct to https: //, relative or //, if necessary.