This is a discussion on how to move index.php within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi Guys, Nearly ready to let my site loose after a lot of trial and error but would like to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi Guys, Nearly ready to let my site loose after a lot of trial and error but would like to move the catalog/index.php out of the catalog folder and into the root so it will become the default page. How should I go about it? Great product btw, keep up the excellent work. Simon |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| just copy all files in the catalog dir to the root dir |
|
#3
| ||||
| ||||
| or use a meta tag refresh/redirect on index.html, transferring the visitor instantly to /catalog/. only drawback there is search engines trying to index, but at least you'd still have your standard installation in the default folder. |
|
#4
| |||
| |||
| The simple way to do this is to make an entry in your .htaccess file to assign the catalog directory to be the default place the webserver looks for a starting page. In your .htaccess file, add: DirectoryIndex index.html index.htm /catalog/index.php It will look for files in the order listed above. If it doesn't find it, then it moves to the next. Dan |
|
#5
| |||
| |||
| Quote:
I tried this, and when I tried to login to the admin panel it was as if it did not exist. Can you please assist. I am trying to make my catalog my default page so no one has to type mydomain.com/catalog |
|
#6
| |||
| |||
| Quote:
I tried this, and when I tried to login to the admin panel it was as if it did not exist. Can you please assist. I am trying to make my catalog my default page so no one has to type mydomain.com/catalog |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Move Left Column Down | torweb | osCMax v2 Customization/Mods | 1 | 05-01-2006 04:15 PM |
| How would I move the 'add to cart' toolbar above? | groggory | osCMax v2 Customization/Mods | 1 | 01-26-2006 07:41 PM |
| Move to TOP category doesn't work | Robrob | osCommerce 2.2 Modification Help | 1 | 02-07-2004 01:30 PM |
| How Do I Move Delete and Move Boxes Around? | OyedeleG | osCommerce 2.2 Modification Help | 2 | 03-18-2003 01:37 AM |