Guest Posted January 13, 2005 Posted January 13, 2005 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
Guest Posted January 13, 2005 Posted January 13, 2005 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 <{POST_SNAPBACK}> 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.............
Guest Posted January 13, 2005 Posted January 13, 2005 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............. <{POST_SNAPBACK}> 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
Guest Posted January 13, 2005 Posted January 13, 2005 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 <{POST_SNAPBACK}> got it to work with an ftp program!!! Thanks! -m
Recommended Posts
Archived
This topic is now archived and is closed to further replies.