opencart 2.0 redirect to https

Discussion in 'Opencart Support' started by Nico Albrecht, Aug 10, 2017.

  1. Nico Albrecht

    Nico Albrecht UKBF Regular Full Member - Verified Business

    378 44
    Can anybody advice how I can redirect http://domainname and http://www.domainname both to https://domainname ( both www and none www ) I keep trying but when I choose both version in opencart 2 ( htaccess ) I get a redirect loop / error all the time. I can redirect https to https or www to https but not both at the same time. Any help appreciated.
     
    Posted: Aug 10, 2017 By: Nico Albrecht Member since: May 2, 2017
    #1
  2. webmto

    webmto UKBF Contributor Free Member

    90 2
    Try to redirect from htaccess and leave the open cart as it is.
     
    Posted: Sep 6, 2017 By: webmto Member since: Aug 28, 2017
    #2
  3. Nico Albrecht

    Nico Albrecht UKBF Regular Full Member - Verified Business

    378 44
    did it and works now perfect.
     
    Posted: Sep 7, 2017 By: Nico Albrecht Member since: May 2, 2017
    #3
  4. webmto

    webmto UKBF Contributor Free Member

    90 2
    Still waiting to rate my solution.
     
    Posted: Sep 13, 2017 By: webmto Member since: Aug 28, 2017
    #4
  5. Nico Albrecht

    Nico Albrecht UKBF Regular Full Member - Verified Business

    378 44
    I had no idea i could rate people here
     
    Posted: Sep 14, 2017 By: Nico Albrecht Member since: May 2, 2017
    #5
  6. webmto

    webmto UKBF Contributor Free Member

    90 2
    Very easy.
    Follow the mouse pointer :)

    [​IMG]
     
    Posted: Sep 14, 2017 By: webmto Member since: Aug 28, 2017
    #6