Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    3
    Plugin Contributions
    0

    Default SSL works but all links remain http not https

    Got my SSL certificate today and my site now shows up at https://www.plugnplaypc.com/shoppingcart/ as it should.

    However all of the links on the page--with the exception of the "Login" link at the top--remain http, not https.

    I reverted to the default template in case I screwed something up in my custom template and I searched all my files for "src=http://" in case I hard coded something somewhere, but I found nothing.

    I followed the directions for enabling SSL (https://www.zen-cart.com/tutorials/index.php?article=14) and did this:

    Code:
    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/
    
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
      // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
      define('HTTP_SERVER', 'http://www.plugnplaypc.com');
      define('HTTPS_SERVER', 'https://www.plugnplaypc.com');
    
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');
    
    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
      // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
      define('DIR_WS_CATALOG', '/shoppingcart/');
      define('DIR_WS_HTTPS_CATALOG', '/shoppingcart/');
    Is there somewhere else I might have defined 'http' and need to change it to 'https'?

    (Please forgive me if I missed the answer to this when I searched the forum and FAQ.)

    Thank you.

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: SSL works but all links remain http not https

    ssl does not work on all pages...only those requiring input
    of certain info i.e. login, cart etc

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: SSL works but all links remain http not https

    https is very slow, hence it is only used when it should be (on pages that involve transferring customer info etc)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 

Similar Threads

  1. SSL is on, but http:// login page does not redirect to https://
    By jackie.taferner in forum Basic Configuration
    Replies: 17
    Last Post: 16 Jun 2011, 04:53 PM
  2. Https in links but disabled ssl in config files
    By jpg1491 in forum General Questions
    Replies: 1
    Last Post: 23 Mar 2010, 07:02 PM
  3. banner images show in https but not http
    By makenoiz in forum General Questions
    Replies: 10
    Last Post: 26 May 2008, 04:48 AM
  4. links go to http instead of https (page not found)
    By maclean in forum Installing on a Linux/Unix Server
    Replies: 14
    Last Post: 23 Oct 2006, 03:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR