Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index page insted of my site


darkrev

Recommended Posts

hi

 

how do i get my index page that shows all my files to not be the first thing i see when i go to my site would like

my home page to bee seen not the index page please help :o

Link to comment
Share on other sites

With a typical server setup, a user going to a given directory will cause the system to look for an "index" file in a certain order. For example, look for "index.html", and if not found, then for "index.htm", and if not found, "index.php". If no such file is found, the default action is to generate an "index", which is a list of files and directories, and links to them. Most servers can be configured to "turn indexing off", and generate a 40x error instead.

 

If your osC index.php file is not in your home directory, visitors landing in that directory will either get an index or an error. You can create your own real "landing page", with a link to your store's index.php (so you can make it a welcome page). Or, you can create a dummy index.html file that simply immediately redirects visitors to the store page. Or, in most servers, you can configure an automatic redirection from that directory to the store page.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...