Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Page Links not working


mrGlo

Recommended Posts

I recently enabled Shared SSL (through ixweb hosting) on my website but now whenever I click on any link on the page it goes to, for example, https://heatingspares247.com/catalog/index.php when the code is trying to force it to go to http://heatingspares247.com/catalog/index.php.

 

I can't go in and change every line on the site to point every link to https, Is there a config file somewhere that is pointing it to go to http?

 

Thaks for your help.

Link to comment
Share on other sites

As long as all of your links are being written via the tep_href_link() function, all you should have to do is set your http and https domain values in the <catalog_root>/includes/configure.php file, and you'll want to make sure your cookie domains and paths are set right to either share cookie information between http and https, or that your store is passing the session id when it switches between the 2, so it can match that user's session back up...

 

Richard.

 

I recently enabled Shared SSL (through ixweb hosting) on my website but now whenever I click on any link on the page it goes to, for example, https://heatingspares247.com/catalog/index.php when the code is trying to force it to go to http://heatingspares247.com/catalog/index.php.

 

I can't go in and change every line on the site to point every link to https, Is there a config file somewhere that is pointing it to go to http?

 

Thaks for your help.

Richard Lindsey

Link to comment
Share on other sites

Not only do you have to define your https setting, you also have to include the fact that you want SSL enabled.

 

The key lines in configure.php are:

 

 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

 

Larry

Link to comment
Share on other sites

Thanks for your help guys, the issue has now been resolved.

 

I told my hosting company abot the issue and they sorted it. I'm not sure what they did - it works so I didn't ask.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...