Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default My site is not loading as https

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]

    Hello,
    I didnt see a section for HTTPS so hope this is the correct place.
    I have managed to get upgraded to 1.5.5 and switching over to HTTPS.
    It all works fine on my front page when using https://... however none of the other pages are loading as HTTPS and when I go through google to my website, the front page also doesnt load as HTTPS.

    Is there something I need to change in my code? I am completely new to HTTPS so am unsure how to get it to work.

    Here is my link... craftjam.co.uk

    Thank you
    Amy

  2. #2
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: My site is not loading as https

    For the majority of questions, the "basics" are covered in the Frequently Asked Questions (FAQ) section. While it can be a little lengthy, the following FAQ specifically addresses this issue: https://www.zen-cart.com/content.php?56

    Ultimately in includes/configure.php and admin/includes/configure.php where you see 'http://' you will eventually want to change that to https:, but you also want to be sure that your host/ssl certificate recognizes your your site with the chosen www. or no www. The other part of the "change" is that in those files where you see something like ENABLE_SSL or similar (there are two options in the admin's file) then a 'false' should be changed to a 'true' (yes leave the single quotes around the entered value.)

    Then, to save the store side version of the file, you may need to change the file permissions (attributes) to at least 0644 from 0444. It may also require temporarily renaming that file while a new version of the file is put in its place. All depends on your server's setup.

    This is all covered in the above FAQ though. Be sure to read it in its entirety.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: My site is not loading as https

    Looking over the site's certificate, it looks like it was generated for www.craftjam.co.uk. Based on some experiences identified by dbltoe, it seems that the www. should be a part of your site's url in the HTTP_SERVER related defines.

    Note that on the admin side, when you switch it to https: you (and anyone else that has a login account) should expect to be asked to change the login password. So be prepared with a new one that you will/can remember. This is a security precaution as previous uses of the password were not sent with SSL encryption.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: My site is not loading as https

    Hi,
    Thanks for that, will have a read now.

    All my admin side is https and has the padlock, forgot to mention that!

    Thank you
    Amy

  5. #5
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: My site is not loading as https

    Hi,
    thanks, yes I just had to change the configs.
    I have had a look through that page you posted and it isnt mentioning search engines.
    When I go to google or any other search engine, then proceed to my website, it isn't doing HTTP.
    Also when I type it in the address bar on a mobile device, just my sites name, none of the www. and .co.uk, it goes also to a non HTTPS site and isnt automaticall diverting to HTTPS.

    Is this covered elsewhere also as it didn't seem to be mentioned on that info.

    Thank you
    Amy

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: My site is not loading as https

    Amy, you'll want to use .htaccess to ensure your site is always (or never) "www". Then align your settings in configure.php with whatever decision you made.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Idea or Suggestion Re: My site is not loading as https

    This thread has .htaccess - working examples:
    https://www.zen-cart.com/showthread....32#post1350732

    And if you're comfortable changing your .htaccess you may find it helps to scan your entire site fileset for http:// and decide if they should be pointing at https:// moving forward.

    Make proper site fileset and database backups before making any changes to your site.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  8. #8
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: My site is not loading as https

    Hi,
    I dont have a .htacces file now. I recently upgraded and re built my site but not sure why I don't have one this time?
    Do i have to make the file my self?

    Thanks
    AMy

  9. #9
    Join Date
    Feb 2012
    Posts
    427
    Plugin Contributions
    0

    Default Re: My site is not loading as https

    ALso, i have only just noticed that when i create a product, it allows me to make up all the necessary details, name, description etc but will not allow me to add the images. It just tries to save then I get an error page. I checked the file permissions so I wondered if it has somthing to do with the SSL thing also?
    THank you
    Amy

  10. #10
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: My site is not loading as https

    Quote Originally Posted by rainbow_pixie_star View Post
    Hi,
    I dont have a .htacces file now. I recently upgraded and re built my site but not sure why I don't have one this time?
    Do i have to make the file my self?

    Thanks
    AMy
    Zen Cart is distributed without a root .htaccess. If you want first arrival addresses to always be a certain way, then yes one will need to be created or settings in your cPanel established to do the same (such settings could generate an .htaccess file or otherwise control access to the site). My understanding is that if one were provided, there is the potential that the software may not work and/or other problems could be introduced based on how one installs the software and where they move things. Also, whatever settings are in the software (all, some or no https), they will take effect on the first click once someone arrives on the site.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 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
  2. Error in https with Firefox - Site NOT loading
    By kevinmc3 in forum General Questions
    Replies: 1
    Last Post: 6 Dec 2010, 05:23 AM
  3. stylesheet not loading with https recently installed
    By roekoe in forum Basic Configuration
    Replies: 9
    Last Post: 3 May 2010, 02:20 PM
  4. http vs https images/buttons not loading secure
    By teager in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 10 Sep 2008, 09:42 PM
  5. Site not working in https in I.E.
    By dsaini in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 7 Aug 2006, 05:35 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