• OpenCart 2.X版本如何開啟https (SSL)
  • 推文至Facebook  
  • Step 1: Set your HTTPS URL in OpenCart 2 config.php Files

    設定https 網址到 config.php

    Step 2: Enable SSL via the OpenCart 2 Admin

    到網站後台設定

    Step 3: Force HTTPS only for your OpenCart 2

    .htaccess強制啟動Https

     

    步驟一:

    檔案

    config.php

    admin/config.php

    http網址更改為https

    define('HTTPS_SERVER', 'http://yourdomain.com/');

    define('HTTPS_SERVER', 'https://yourdomain.com/');

     

    步驟二: 到 OpenCart 後台 登入admin 啟動SSL

    商店設置

    SSL, https, Cpanel, Opencart, htaccess

     

    伺服器設定 啟用SSL

    SSL, https, Cpanel, Opencart, htaccess

     

    步驟三:強制啟動SSL

    到.htaccess下新增

    RewriteCond %{SERVER_PORT} !^443$

    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]

    RewriteCond %{HTTP_HOST} !^yourdomain.com$ [NC]

    RewriteRule ^(.*)$ https://yourdomain.com/$1 [L,R=301] 

    網頁設計,免費模板,免費網頁套件,架設網站,網站架設 ,修改模板,主機代管,Android App

  • NetYea, 購物車, opencart, RWD, 可適應式網站
NetYea 客服 NetYea 客服
NetYea 客服

OpenCart 2.X版本如何開啟https (SSL) -