CSS on Opencart using https



  • There's a forced use of https, through cloudflare, because of this whole website, which could be a problem? In configurations, it's kind of okay, there's a necklace in the adminke opposite SSL.

    // 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/');

    введите сюда описание изображения



    • Right configurations config.php : / HTTP define('HTTP_SERVER', ' https://example.com/ '; / HTTPS define('HTTPS_SERVER', ' https://example.com/ '; define('HTTP_IMAGE', ' https://example.com/image/ ';
    • Installations OC, use https: введите сюда описание изображения
    • We're doing a recount from https. .htaccess :

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

    • Looking for references, pages and resources, type http:// and corrected at https://, relative or /, if necessary.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2