Page 4 of 4 FirstFirst ... 234
Results 31 to 37 of 37
  1. #31
    Join Date
    Jul 2012
    Posts
    16,801
    Plugin Contributions
    17

    Default Re: How can I change all links in the store to be https if the site accessed via http

    Quote Originally Posted by one tall man View Post
    I am lost in your academic debate and do not have time and resources to read even 10% of what is posted, but I know for certain from my customers' feedback that if they entered my site via https, they expect 100% of their interaction with the site to be SSL encrypted. I understand where they are coming from and have zero problem with their wishes.

    If some however want to use http, they should be allowed to do so.
    You've read and replied to most of it already, so 10% of what remains was less than one word. The discussion was to attempt to provide specific custom design code to address your situation based on the expectations. The cleanest/clearest solution is as DrByte recommended which is to just make the full site https:.

    Follow DrByte's recommended modification and it should satisfy those that wish to see a blue lock everywhere.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #32
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,492
    Plugin Contributions
    11

    Default Re: How can I change all links in the store to be https if the site accessed via http

    Quote Originally Posted by one tall man View Post
    If some however want to use http, they should be allowed to do so.
    Neither you are your customer really get to decide. More increasingly, browsers are the culprits declaring that a site is insecure no matter if it is eCommerce or not just because is is using http versus https.

  3. #33
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    231
    Plugin Contributions
    0

    Default Re: How can I change all links in the store to be https if the site accessed via http

    Quote Originally Posted by DrByte View Post
    Change this:
    define('HTTP_SERVER', 'http://www.vintageelectronics.ca');

    To this:
    define('HTTP_SERVER', 'https://www.vintageelectronics.ca');
    So in summary, if I want to update my site to https only, all I need to do is
    1. make the change above, and
    2. do a 301 redirect for all http calls to https, to ensure any hardcoded http calls will be redirected to https, right?
    Thanks guys!

  4. #34
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    231
    Plugin Contributions
    0

    Default Re: How can I change all links in the store to be https if the site accessed via http

    Can someone confirm that this is correct please? Thanks guys!

  5. #35
    Join Date
    Jul 2012
    Posts
    16,801
    Plugin Contributions
    17

    Default Re: How can I change all links in the store to be https if the site accessed via http

    Quote Originally Posted by ttfan View Post
    Can someone confirm that this is correct please? Thanks guys!
    The action to be taken or perhaps the condition to be in place is described at the following FAQ. There are setups that would be able to operate with just making the change to HTTP_SERVER, but that doesn't mean all can operate that way nor that all things will work with just that change away from a default store. Plus, not all current condition data has been provided. So, stick with the FAQ: https://www.zen-cart.com/content.php...alled-zen-cart
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #36
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    231
    Plugin Contributions
    0

    Default Re: How can I change all links in the store to be https if the site accessed via http

    Thank you kindly.

    My second part of the question is not covered though. Will a 301 redirect in .htacess, redirecting all http calls to https, solve the mixed content issue? I know I have quite a few hard-coded images with a http prefix in some of my pages (like EZ pages or defined content pages), so I'm hoping this will fix it?

  7. #37
    Join Date
    Jul 2012
    Posts
    16,801
    Plugin Contributions
    17

    Default Re: How can I change all links in the store to be https if the site accessed via http

    Quote Originally Posted by ttfan View Post
    Thank you kindly.

    My second part of the question is not covered though. Will a 301 redirect in .htacess, redirecting all http calls to https, solve the mixed content issue? I know I have quite a few hard-coded images with a http prefix in some of my pages (like EZ pages or defined content pages), so I'm hoping this will fix it?
    No generally speaking an htaccess rule will not affect the mix of content on the page. The htaccess basically processes before the page is loaded and was designed to control access to the site. Mixed content comes from what is presented on the page which occurs after the visitor has been allowed to access the site. Further that "issue" is covered by yet a different FAQ: https://www.zen-cart.com/content.php...lly-encrypted)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Replies: 17
    Last Post: 30 May 2018, 10:27 AM
  2. HTTPS issues. How do I force site wide HTTPS? Thanks.
    By MagicMan in forum General Questions
    Replies: 1
    Last Post: 20 Oct 2016, 10:56 PM
  3. why the links inside the admin area are not https?
    By mavik in forum General Questions
    Replies: 4
    Last Post: 8 Apr 2011, 05:06 PM
  4. How to put https on the lateral menu links?
    By DArnaez in forum General Questions
    Replies: 4
    Last Post: 9 Oct 2010, 05:32 AM
  5. How do I change the image url to https://?
    By birdoasis in forum General Questions
    Replies: 9
    Last Post: 9 Oct 2007, 01:51 AM

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