Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Oscommerce as the index page?


monmaker

Recommended Posts

Hi, i have a question regarding oscommerce maybe someone can help..

 

 

how would i make the oscommerce site show up as a html index page would?

 

 

example:: i go to www.website.com i would like to go straight to the store.

 

any help appreciated thanks!

Link to comment
Share on other sites

Hi, i have a question regarding oscommerce maybe someone can help..

how would i make the oscommerce site show up as a html index page would?

example:: i go to www.website.com i would like to go straight to the store.

any help appreciated thanks!

This is a short answer, but...

move the whole shebang out of whatever directory it's currently in (and which probably goes /something/catalog), up to your root directory, then open up includes/configure.php and make sure the following lines are configured correctly (which will probably mean changing everywhere that it says /something/catalog to just /.

 

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', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

Link to comment
Share on other sites

Or just use the following in index.html as a refresh to your catalog.

 

<meta http-equiv="refresh" content="1;URL=/catalog">

 

Cheers,

Jon

Link to comment
Share on other sites

thank for the replys

 

if i do it this way <meta http-equiv="refresh" content="1;URL=/catalog">

how can i hide my directory folders if someone decides to type in www.webpage.com/shop

 

if they do this you can see all folders. how can i hide this

 

rrrhythm

when you say move everything out to the root directory

do i just move all the folders to root

or everything out of the folders into root?

 

also could you clear up the instructions a little more.. thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...