Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to get multiple URLs (configuratoin.php)


spiKRE

Recommended Posts

Posted

Hi,

 

How to get multipel URLs?

 

Like test.domain.com/index.php?, strange.domain.com/index.php?, www.domain.com/index.php? osv.

 

They have to work with the same server/folder.

 

TNX

Posted

Hi,

 

How to get multipel URLs?

 

Like test.domain.com/index.php?, strange.domain.com/index.php?, www.domain.com/index.php? osv.

 

They have to work with the same server/folder.

 

TNX

 

simply update the following lines in configure.php file:

define('HTTP_SERVER', 'http://your-domain-name.com');
define('HTTPS_SERVER', 'https://your-domain-name.com');

 

to

 

define('HTTP_SERVER', 'http://'.$_SERVER["SERVER_NAME"]);
define('HTTPS_SERVER', 'https://'.$_SERVER["SERVER_NAME"]);

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Archived

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

×
×
  • Create New...