milesdavis Posted December 13, 2004 Posted December 13, 2004 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
raneman Posted December 13, 2004 Posted December 13, 2004 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 <{POST_SNAPBACK}> There are different ways of getting it done. I personally use frames with catalog/index.php in the main frame.
milesdavis Posted December 13, 2004 Author Posted December 13, 2004 There are different ways of getting it done. I personally use frames with catalog/index.php in the main frame. <{POST_SNAPBACK}> 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
♥Vger Posted December 13, 2004 Posted December 13, 2004 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
milesdavis Posted December 13, 2004 Author Posted December 13, 2004 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 <{POST_SNAPBACK}> 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
Squiggie Posted December 13, 2004 Posted December 13, 2004 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.
milesdavis Posted December 13, 2004 Author Posted December 13, 2004 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. <{POST_SNAPBACK}> 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!
raneman Posted December 24, 2004 Posted December 24, 2004 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. <{POST_SNAPBACK}> 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
AWWWW.WAHWAH Posted December 24, 2004 Posted December 24, 2004 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.