sidney Posted August 10, 2004 Posted August 10, 2004 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
sidney Posted August 12, 2004 Author Posted August 12, 2004 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
Guest Posted August 12, 2004 Posted August 12, 2004 The first page that open is catalog/index.php The_Bear
conrad10781 Posted August 12, 2004 Posted August 12, 2004 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"); ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.