Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Redirect from index.php to another page


juniorprg

Recommended Posts

Posted

I know index.php is automatically picked up when type in the domain...but instead of going to index.php i want the page to go to start.php ...just that one time

and then from there the customer can click on an image and go to index.php

 

i am hosted on a remote server, and they said i should do that on htaccess but when i do redirect its going on a endless loop and stays on start.php alone withouth entering index page

 

can someone help

l8ter

Posted
I know index.php is automatically picked up when type in the domain...but instead of going to index.php i want the page to go to start.php ...just that one time

and then from there the customer can click on an image and go to index.php

 

i am hosted on a remote server, and they said i should do that on htaccess but when i do redirect its going on a endless loop and stays on start.php alone withouth entering index page

 

can someone help

 

 

If you want start.php to be one of the defaults it has to be entered in the apache httpd conf file. The line looks like ..

 

DirectoryIndex index.html index.php

 

So could look like ..

 

DirectoryIndex index.html start.php

Posted

is this somthing the server admin has to do from his side or somthing i can do ?

 

website is remotely hosted in a shared server

l8ter

Posted

instead of doing in httpd i put that in .htaccess

 

DirectoryIndex index.html start.php

 

this worked, may be before i did somthing wrong to get a endless loop

 

thanks

l8ter

Archived

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

×
×
  • Create New...