Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stupid question - I dont want a splash page


financial-domains_com

Recommended Posts

Posted

In order for oscommerce to work I had to install it as www.domain.com/oscommerce

 

 

I wanted to install on the root www.domain.com but admin won't work.

 

So how do i make www.domain.com point to www.domain.com/oscommerce without a SPLASH PAGE. I don't want to mess with google pr using a forward (if it's a bad thing to do?) ... just not sure what to do.

 

Thanks in advance,

 

Ryan

Posted

Not really sure why you had to change from the default /catalog/??? installation. I have seen others able to have it in the root by editing a couple of files to point to the correct spot.

 

My current host will not let me use the standard .htaccess file to show the redirect from the root, so they gave me this.

 

 

Create an index.php in the root directory with this in it:

 

<?php

header("Location: oscommerce/index.php");

?>

Posted

All you have to do is install OSC in the root and make sure to make the appropriate changes in both /catalog/includes/ and /admin/includes/ congifure.php files. Wherever there is a '/catalog/' you just change it to '/'.

Posted
Thank you very much, I couldn't install on the root beacuse the admin area would not work unless I installed on a second level.

 

 

If it is a restriction with your host then change hosts. I have my cart in my root folder without any problems and have the Admin folder secure with a .htaccess file

Posted

cmx322's advice is correct. If your site is in the root your admin folder will be one level in. This is normal.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Posted

Also, if you don't want to move your whole site and don't want to use a splash page you could make your index page with the following:

 

<?php
echo file_get_contents ('http://www.yourstore.com/catalog/index.php');
?>

 

So when someone types in your store address they'll automatically go to the correct directory. I use this on my store and have had no negative SEO effect...

My Contribution

Music Download Store Template

http://www.oscommerce.com/community/contributions,4275

Archived

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

×
×
  • Create New...