This is a discussion on Redirect to default.php question within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, My host has the requirement that i install my site to the specified folder named "httpdocs". It is in ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, My host has the requirement that i install my site to the specified folder named "httpdocs". It is in this folder that index.html (or what ever) must exist. After i have installed osc I have this folder structure httpdocs\catalog\etc. So the defult.php file is now located in a directory, below that of what the server is looking for when the URL is entered into a browser. My question is how can I make it so when I type in WWW.MYSERVER.COM i get automatically redirected to default.php in the catalog folder and thus display that home page? Many thanks. |
|
#2
| |||
| |||
| Best way would be to move, or re-upload the contents of \catalog\ to \httpdocs then do a search for info on .htaccess and setting the default page. |
|
#3
| ||||
| ||||
| Or you could just read the oscdox guide. It has instuctions on how to install to the document root, step by step: http://oscdox.com/modules.php?op=mod...ocument%20Root Wherever it says public_html, it is the same as httpsdocs. There are also detailed instructions on how to set the index pages using .htaccess. Its all there, just read!
__________________ Michael Sasek osCMax Developer
|
|
#4
| |||
| |||
| another option is use a metatag refresh - less involved. <meta http-equiv="refresh" content="0;url=http://www.yourdomainname.com/catalog/"> |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Default Language question | telcotech | osCMax v1.7 Discussion | 2 | 12-20-2004 04:49 AM |
| Download by Redirect issue | red_fraggle | osCMax v1.7 Discussion | 0 | 03-14-2004 12:36 AM |
| After checkout I need to change the redirect | mcdanie1 | osCommerce 2.2 Modification Help | 5 | 11-24-2003 10:06 AM |
| downloads by redirect | jloyzaga | osCMax v1.7 Discussion | 0 | 09-25-2003 03:09 PM |
| Redirect to the right directory after install. | zman | osCommerce 2.2 Installation Help | 1 | 11-27-2002 01:40 PM |