Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I make oscommerce my home page?


milesdavis

Recommended Posts

Posted

Sorry. I've been searching for the right combination of terms to find this result in the archives, but I can't find it. I'm sure this has been asked before.

 

I'd like to make mydomain.com start at the oscommerce store I have installed.

How can I do this with an already installed store?

 

thanks for the help!

 

-md

Posted
Sorry. I've been searching for the right combination of terms to find this result in the archives, but I can't find it. I'm sure this has been asked before.

 

I'd like to make mydomain.com start at the oscommerce store I have installed.

How can I do this with an already installed store?

 

thanks for the help!

 

-md

 

There are different ways of getting it done. I personally use frames with catalog/index.php in the main frame.

Posted
There are different ways of getting it done.  I personally use frames with catalog/index.php in the main frame.

 

 

I'm trying to find a way to do this without a redirect to the /catalog directory. I read somewhere about a index.php fix, but I can't find it...

 

thanks for your info --

 

md

Posted

A meta tag redirect is not a good thing to use, as search engines will mark you down for it. The best way to go is to move your website into the root directory and out of the 'catalog' folder, but next to doing that then using a .htaccess redirect in your root directory is second best.

 

Vger

Posted
A meta tag redirect is not a good thing to use, as search engines will mark you down for it.  The best way to go is to move your website into the root directory and out of the 'catalog' folder, but next to doing that then using a .htaccess redirect in your root directory is second best.

 

Vger

 

After doing this, what changes will I need to make within my oscommerce files to make sure everything is pointing in the right place? Can you tell me what files and what changes, please? :)

 

 

thanks for your help, it's appreciated!

 

-md

Posted

You will probably just need to change the paths in your configure.php files once you copy the site to the root folder. The database connections will remain the same no matter where the store is.

 

Can anyone confirm this?

 

I would stay away from frames, search engines hate them and you will not rank well with them.

Posted
You will probably just need to change the paths in your configure.php files once you copy the site to the root folder. The database connections will remain the same no matter where the store is.

 

Can anyone confirm this?

 

I would stay away from frames, search engines hate them and you will not rank well with them.

 

 

I was originally using a re-direct, then I learned about the search engine problem -- so I've completely dumped that idea.

 

I will experiment with moving the entire contents to the root folder and go from there, hopefully it'll work.

 

thanks for your help!

  • 2 weeks later...
Posted
You will probably just need to change the paths in your configure.php files once you copy the site to the root folder. The database connections will remain the same no matter where the store is.

 

Can anyone confirm this?

 

I would stay away from frames, search engines hate them and you will not rank well with them.

 

 

Is there any other file besides config.php that should be modified?

To check this out I moved a testing site to the root directory and then modified

(removing /catalog/ from the path)

 

 

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

 

in config.php

Currrently there are some issues with images and other links. Any idea which files needs to be modifed.

 

here is the link

www.shinningcolors.com

Posted

I did a 301 redirect ... create a file called index.php

 

<?

Header( "HTTP/1.1 301 Moved Permanently" );

Header( "Location: http://YOUR DOMAIN.COM/catalog" );

?>

 

and I have no problems of getting hit by search engines.

Archived

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

×
×
  • Create New...