Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to set your cart home page as your website home page?


webgurl2006

Recommended Posts

Posted

Your post does not make much sence but read this

 

SSL with osCommerce

 

How Does SSL Work With OsCommerce?

 

The workings of SSL with osCommerce are quite straightforward. Once your SSL is installed, you set the configuration path for https:// in catalog/includes/configure.php to enable SSL and the code takes care of the rest.

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://yourdomain.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');

define('HTTPS_COOKIE_DOMAIN', 'yourdomain.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

 

 

 

My cart has been installed on my secure pages. How do I add the same home page to the non-secure index page?

 

Thanks

Posted

If you have two folders, one for secure and one for non-secure pages (httpdocs and httpsdocs) then you need to duplicate all folders/files in both folders - except for the 'admin' folder which you can keep just in the secure folder.

 

If all of your site is made https then you won't get any search engine ranking points because they don't rank https pages.

 

Vger

Posted

Thanks for the replies.

 

To make more sense!!!!! .......

 

cart installed in a folder in my https directory.

 

If I copy entire cart to my http directory and paste, it will not work as the config page refers to the folder where the cart is - is this correct?

 

Do I need to create a new config file for the http directory? I am thinking anyone coming to the cart on the non-seure pages will not ever go to the secure cart because of the http config file.

 

I am sorry for being such an idiot, but as a complete beginner, I am slowing learning all of this and may not ask questions as I should.

Posted

It would be easier to get your hosting company to Symbolically link (Sym Link) the httpsdocs folder to the httpdocs folder and this will save you having to keep two copies of everything.

 

Ask them and see if they'll do it.

 

Vger

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...