Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Domain opens to "index of" rather than loading homepage.


Guest

Recommended Posts

Posted

Hi All,

I'm new to PHP and osCommerce and had a quick question.

 

I installed my site with no problems following instructions that came with my template. After the installation I noticed that going to my website www(dot)rubberduckiessurf(dot)com would drop me to a page that only said "Index of" my page. If i navigate to the "catalog" directory of my domain the page will load as intended.

 

I attempted to just cahnge the folder on my hosting plan that my domain was pointing to, but that killed every other link besides the index page.

 

Did I do something wrong during the setup and is this something i can correct without reinstalling?

 

If i did just reinstall the site, what directories/files should i backup in order to save myself from inputting all my products again?

 

Thanks in advance for you help!

 

Bryan

Posted

Bryan,

 

You can do one of two things.

 

1) Use an .htaccess redirect to send customers to the /catalog directory automatically

2) Move your installation to the /root directory

 

 

 

Chris

Posted

Chris,

I actually tried to move the directories, but it seems that all of the links are still pointing to the files in the sub directory. This result in a working home page, but nothing else. Is there a way to recursively change all the links on the site? I thought there may be something i could edit, but have no idea where to look for it.

 

I setup a redirect but for some reason it isn't taking effect. Maybe the host is being slow. I'm hoping that will work since it is the easiest solution.

 

Thanks!

Posted

Bryan,

 

When you move the installation to the /root you will have to edit the TWO configure.php files found at:

 

/includes/configure.php

/admin/includes/configure.php

 

 

to reflect the new path.

 

Chris

Posted

Thanks Chris! This solved my problem. I'm thinking i probably missed a step during the install that would have avoided all of this. For anyone else that is reading this later....when you edit the configure.php files make sure that you take note of the forward slashes. I removed some inadvertantly and it caused the paths of my links to run together.

 

Thanks again Chris!!

Archived

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

×
×
  • Create New...