Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Homepage not viewable


Deanh

Recommended Posts

I think i installed incorrectly??? The only way I can view my home page is with "catalog" at the end of my domain name. What do I need to do to see it at eg: www.mydomain.com"

Link to comment
Share on other sites

I think i installed incorrectly??? The only way I can view my home page is with "catalog" at the end of my domain name.

The regular install dumps the store into the catalog folder, that's why you need /catalog/ to get to the default page.

 

You can either move the files up one level into root or use a re-direct like this in your root index.php file

 

<?php

header("Location: http://www.example.com/myfolder"); /* Redirect browser */

/* Make sure that code below does not get executed when we redirect. */

exit;

?>

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...