Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCommerce setup directory


niidmore

Recommended Posts

Posted

Hello All,

 

I am a complete newbie on this, I hope someone may advise me on setting this up on the server.

 

I have gathered from the documentation that I can keep the catalog directory on the server and then move all the files across so that the www address would look like this

 

http://www.my-server.com/catalog/

 

this is good for the development and I would like to change or set a redirect to the hostname

 

as www.my-server.com

 

please can you let me know if this is possible?

 

thanks

s

Posted

I dont know if this is going to be the easiest way but it is how i have done it.

 

If i understand your question correctly, you would like your site to be reached using the following: www.my-site.com and not www.my-site.com/catalog/

 

To use the first option, copy all of the files inside the catalog directory straight into the root folder, i.e all files uploaded into www.my-site.com so that you can setup the site www.my-site.com/install.

 

Hope this makes sense

 

Alex

Posted

You can retain all your database settings without the "new install" method mentioned by alex121

 

Move your files contained in /catalog to root

 

Change two files .. these are ..

 

includes/configure.php

admin/includes/configure.php

 

In these two files you simply have to change all references to /catalog/ to just /

 

One example in case of confusion ..

 

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

 

would become ..

define('DIR_WS_CATALOG', '/');

Archived

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

×
×
  • Create New...