Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I get site to come up without /default.php?


fan4chevy

Recommended Posts

Hi guys,

 

I was wondering how I might get the site to come up without the need to add default.php after the domain. I would think the default.php would work in the same way as index.html.

 

Thanks for your help.

 

Charles :lol:

Link to comment
Share on other sites

Check out the installation document for osCommerce. It explicitly tells you how to do just that.

 

HankFrid

If I build it...they will come.

If I don't try to build it.....I will never know!

Link to comment
Share on other sites

change default.php to index.php

 

catalog/default.php to index.php

includes/languages/default.php to index.php (all the languages you have)

includes/applications_top.php find default.php change it to index.php

Link to comment
Share on other sites

There is another way that not require osc modification.

 

Create or edit .htaccess file (if ISP allows it) in main osc folder and /admin

 

Add line:

 

DirectoryIndex default.php

 

That's all

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...