Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Entire site is Secure - Problematic!

    My entire site is under HTTPS and it is preventing site from being indexed. How do I go about making the site NOT secure except for the pages that require it? My site is useless the way it is right now.
    thedealsdiscount.com

    Notice that if crawl the site at http://www.searchenginegenie.com/spi...tool/index.php , NONE of the indexed pages lead anywhere. They all point to www.---.com/https://www.---.com/.

    I am totally at a loss to figure this out but I am sure it is a simple solution. Any ideas??

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Entire site is Secure - Problematic!

    These are settings in the TWO configure.php files

    includes/configure.php
    admin/includes/configure.php

    You just need to DEFINE your http server and your https server.

    Some people define BOTH as https://etc.etc.ect

    There may be other configuration errors... How did you do your ZC install?
    19 years a Zencart User

  3. #3
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: Entire site is Secure - Problematic!

    I defined my http and https server at:
    includes/configure.php
    I did NOT do it at admin/includes/configure.php because that page has a comment that says the admin configure should be left secure.

    That seemed to work. Now the main site and pages are "http" and not "https". Thanks!

    HOWEVER... I am not getting a secure page when I add something to the cart and go to the CHECKOUT page. I looked at other Zen sites and the checkout pages are always secure.

    Do I need to define how/when my store should change from unsecure to secure?

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Entire site is Secure - Problematic!

    includes/configure.php

    PHP Code:
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
    define('HTTP_SERVER''http://www.yourwebsite.com');
    define('HTTPS_SERVER''https://www.yourwebsite.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL''true'); 
    This is ALL you need do to make your SSL operative. If it is not operating when it OUGHT to, then you have malconfigurations in your template. (Assuming your server is set up for SSL to operate under the same domain and domain path).

    The way to test this is to switch your template to the "classic" template, and see of the desired behaviour occurs. If it does, your custom template is faulty.
    19 years a Zencart User

  5. #5
    Join Date
    Apr 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: Entire site is Secure - Problematic!

    It was showing "false", by default I imagine. Changed it to true and that did the trick! You've been a great help.
    Many thanks!

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Entire site is Secure - Problematic!

    All this is described in the Tutorials/FAQs: https://www.zen-cart.com/tutorials/index.php?article=14
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. PayPal eCheck becomes problematic again on my 1.3.7 site
    By dealbyethan.com in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 19 Jun 2008, 08:59 AM
  2. Exporting my entire site to disk
    By MarkS99 in forum General Questions
    Replies: 0
    Last Post: 9 Dec 2007, 04:01 AM
  3. Entire Site Font Change?
    By marks3 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 May 2006, 02:40 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