Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

C panle Redirects


sidney

Recommended Posts

Posted

Hi is there anyone out there that knows how to use the redirects involved in Cpanle? The problem is that I have installed osCommerce in a directory called ?store? under my public html folder which I understand is ?root?. The only way I can view my site is by adding /store/ to the end of my domain name. Right now; with the cpanle redirects, how can I just type in my domain name to access the site.

Sid

Posted

Ok I will try and work this one out myself, question is that with all Web sites there is the ?index? page which osCommerce has more than one in different directories, which one, or what page (file) is the first to be loaded up when opening osCommerce, there must be others having the same problem in getting started as this is a standard script installed via a Web hosts cpanle?

 

Example: www.pluginpc.co.nz/store/ redirected to www.pluginpc.co.nz

All thoughts welcome, Sid

Posted

The first page that open is catalog/index.php

 

The_Bear

Posted

upload a index.php file to your root directory, and use the following 3 lines. I guess you will have to replace catalog with store for your case. also remove any index files in your current root.

 

 

 

<?

Header("Location: catalog/index.php");

?>

Archived

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

×
×
  • Create New...