Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link menu at top of page


craiglove

Recommended Posts

Hi all, on the top of the page with the Menu ie: TOP, Products My Account, Products....

 

I need to add the "www" in front of the selection, reason being is i have a flash macromedia which is URL fussy.

What file and where do i ad the "www"?

 

Thanks Craig

Link to comment
Share on other sites

  • 2 weeks later...

In *catalog*/includes/configure.php find the definition for HTTP_SERVER and HTTPS_SERVER. Verify that the entries have the canonical form of URL (the www.)

Link to comment
Share on other sites

Hi Chemo,

 

thanks for your reply, i have found the strings... however where do i put the www?

 

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

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

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

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

Link to comment
Share on other sites

Hi Chemo,

 

thanks for your reply, i have found the strings... however where do i put the www?

 

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

  define('HTTPS_SERVER', 'https://www.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', '.yourdomain.com');

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

  define('HTTP_COOKIE_PATH', '/');

  define('HTTPS_COOKIE_PATH', '/');

Try that...substitute the www.yourdomain.com with your actual URL

Link to comment
Share on other sites

This is what i have in the configuration.php file

 

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

define('HTTPS_SERVER', 'http://www.scientificsales.co.nz'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

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

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

define('DIR_WS_IMAGES', '/catalog/images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...