Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Folders directory shows instead of store


jesse9201

Recommended Posts

that's really bad.

 

do this

 

go to application_top make sure and change the default page to 'index.php'

 

then do this, go to catalog/default.php and rename it catalog/index.php

 

also, don't forget to rename the langage folders, such as catalog/includes/languages/english/default.php to catalog/includes/languages/english/index.php

 

let us know how it goes. that's the easiest way.

Link to comment
Share on other sites

You could use an .htaccess file that directs what to do in what order when no file name is setup.

 

I have in my root an .htaccess file that has:

 

DiRectoryindex index.shtml index.html index.htm index.php default.php /missing.html

AddHandler server-parsed .shtml

AddHandler server-parsed .html

AddHandler server-parsed .htm

 

This pretty much covers all the bases and any missing files or non-protected directories also are handled by the missing page.

 

Example:

 

http://www.thewebmakerscorner.com/fred

 

http://www.thewebmakerscorner.com/fred/

 

http://www.thewebmakerscorner.com/fred/myfile.html

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...