Setting a particular page to use HTTP instead of HTTPS????
Some of the elements do not show on the index.html page in the HTTPS side of my site. I contacted godaddy who my hosting and SSL is thru to see if they can install the SSL on my shopping cart only, and they have told me that they can not install SSL on just a portion of my site. They suggested that I use the scripting and the design of my website to stop using HTTPS on that particular page but they can not help me with coding.
Does anyone know how i can keep visitors from visiting my index.html page in HTTPS so that they may visit it in HTTP instead?
I have tried a couple of 301 redirects for that specific page. When you visit the site at www.Sarai-Sarai.com, it will take you to the HTTP site...but once i go to another page and go back to the home page, its back to HTTPS.
Any help would be appreciated
Re: Setting a particular page to use HTTP instead of HTTPS????
If properly configured, Zencart decides what pages need to be secured. Make sure you've followed these instructions, especially #3:
http://www.zen-cart.com/content.php?...alled-zen-cart
Re: Setting a particular page to use HTTP instead of HTTPS????
Quote:
Originally Posted by
stevesh
Thanks. Ive followed the instructions for enabling SSL in my zencart and SSL is functioning properly. My entire site is secure, however, i need the index.php page to display in HTTP...not HTTPS. ZenCart automatically displays this page in HTTPS. GoDaddy has told me that there is coding that will block HTTPS from a particular page.
Re: Setting a particular page to use HTTP instead of HTTPS????
I'll suggest again that you check the settings in your configure.php file against the instructions I referenced. It appears that you have the whole site set to https, which you don't want.
Re: Setting a particular page to use HTTP instead of HTTPS????
Quote:
Originally Posted by
stevesh
I'll suggest again that you check the settings in your configure.php file against the instructions I referenced. It appears that you have the whole site set to https, which you don't want.
This is what i have set up in my zencart/includes/configure.php file?
// 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://sarai-sarai.com');
define('HTTPS_SERVER', 'https://sarai-sarai.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
and my admin/includes/configure.php file:
*/
define('HTTP_SERVER', 'https://sarai-sarai.com');
define('HTTPS_SERVER', 'https://sarai-sarai.com');
define('HTTP_CATALOG_SERVER', 'https://sarai-sarai.com');
define('HTTPS_CATALOG_SERVER', 'https://sarai-sarai.com');
// secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
define('ENABLE_SSL_ADMIN', 'true');
// secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
define('ENABLE_SSL_CATALOG', 'true');
Is it possible that things aren't set up correctly on the SSL so that Zen Cart can automatically decide what pages should be secured?
Re: Setting a particular page to use HTTP instead of HTTPS????
You say the issue lies with a page called index.html .
Zencart will refer to index.php
What is generating that HTML page ?
Re: Setting a particular page to use HTTP instead of HTTPS????
Quote:
Originally Posted by
fairestcape
You say the issue lies with a page called index.html .
Zencart will refer to index.php
What is generating that HTML page ?
i'm sorry...i meant index.php
I set up a 301 redirect for the index.php page...and that seems to work, but this URL: https://sarai-sarai.com/boutique/ind...ain_page=index is the link that I am having trouble with. I need it to direct to HTTP...not HTTPS
I thought maybe i could setup a 301 redirect for the tpl_main_page.php file...but that doesn't work. I dont know if i can do this using an htaccess file?
Re: Setting a particular page to use HTTP instead of HTTPS????
In your template you have hard-coded all your top-navigation-menu links to use https. Change that and your "home link" problem will go away.
Re: Setting a particular page to use HTTP instead of HTTPS????
Correction to my above statement. It appears your navigation menu is based on EZ-Pages links, which is fine, but you've configured them all to use SSL, which is contrary to what your posts say you want. Switching off the SSL setting on each of those specific EZ-Pages entries should help.
Re: Setting a particular page to use HTTP instead of HTTPS????
Quote:
Originally Posted by
DrByte
Correction to my above statement. It appears your navigation menu is based on EZ-Pages links, which is fine, but you've configured them all to use SSL, which is contrary to what your posts say you want. Switching off the SSL setting on each of those specific EZ-Pages entries should help.
Oh my gosh thank you so much!!! This is my first time using Zen Cart...if i only knew it was that simple, i wouldn't have been up at 4am! :-)
Thanks again for your help!