Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

replacing index.html with index.php


Guest

Recommended Posts

Posted

I'm trying to get people to see my online store as the first page when they visit my site. Right now it has an index html. I think I need to put index.php in its place. But my ISP automatically configured oscommerce so that index.php is in here:

/home/public_html/ecommerce/os/catalog/ >_<

 

How do I get index.php to work as the first page without moving directories all over the place?

 

Any help would be appreciated!

 

-m

Posted
I'm trying to get people to see my online store as the first page when they visit my site. Right now it has an index html. I think I need to put index.php in its place. But my ISP automatically configured oscommerce so that index.php is in here:

/home/public_html/ecommerce/os/catalog/ >_<

 

How do I get index.php to work as the first page without moving directories all over the place?

 

Any help would be appreciated!

 

-m

Add a couple of lines to your .htaccess file:

 

DirectoryIndex catalog/index.php

Redirect /index.html http://www.yourdomain.com/path to/catalog/index.php

 

Be sure to edit that last one.............

Posted
Add a couple of lines to your .htaccess file:

 

DirectoryIndex catalog/index.php

Redirect /index.html http://www.yourdomain.com/path to/catalog/index.php

 

Be sure to edit that last one.............

 

hmm, sounds promising. I can't seem to find an .htaccess file. And I can't seem to create a file the begins with a period online or on my winxp machine. Is .htaccess not always allowed?

 

thx

-m

Posted
hmm, sounds promising. I can't seem to find an .htaccess file. And I can't seem to create a file the begins with a period online or on my winxp machine. Is .htaccess not always allowed?

 

thx

-m

 

got it to work with an ftp program!!!

 

Thanks!

 

-m

Archived

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

×
×
  • Create New...