Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links To Non-www Pages


jasonbrice

Recommended Posts

Hi,

 

I installed osCommerce using FANTASTICO from CPanel. In the set up I defined the http and the https urls to be www.mydomain.com. In /store/admin/includes/configure.php the following lines are present:

 

  define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

However, many of the internal links point to urls like this: http://mydomain.com/store/product_info.php...ucts_id=2612436

 

I'd like to maike sure all urls point to www.mydomain.com. What have I missed?

 

Thanks,

 

JB

Link to comment
Share on other sites

Hi

 

 

 

Change:

 

define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');

 

to:

 

define('HTTP_CATALOG_SERVER', '/store/');
define('HTTPS_CATALOG_SERVER', '/store/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...