monmaker Posted October 12, 2006 Posted October 12, 2006 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!
rrrhythm Posted October 13, 2006 Posted October 13, 2006 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 serversdefine('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', '');
Guest Posted October 13, 2006 Posted October 13, 2006 Or just use the following in index.html as a refresh to your catalog. <meta http-equiv="refresh" content="1;URL=/catalog"> Cheers, Jon
monmaker Posted October 13, 2006 Author Posted October 13, 2006 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.