owl17sb Posted April 21, 2006 Posted April 21, 2006 Hi - I wonder if anyone can point me in the right direction. I have a web site from my host Bluevoda - with my website came OSCommerce which I have installed and been working on for the past month or so. My website was called for eg "ABC.com" and OSCommerce has been installed in ABC.com/shop. How do I make my shop into my main homepage ABC.com Do I have to create some kind of redirect from my .com into .com/shop or is there some way to rename the .com/shop into my index page so that is appears as my homepage. i have read on these forums that it is not advisible to can a homepage that you then need to clik to "Enter the Shop" so I am trying to avoid this. I don't really have any experience of script or teckkie stuff so if you are able to help please make it so that a complete novice can understand. Many Thanks in anticipation :) :)
Wendy James Posted April 21, 2006 Posted April 21, 2006 You can move all of your files into your root directory (where your index.html would normally be) then edit the /includes/configure.php and /admin/includes/configure.php which is pretty easy, you would just remove any reference to /shop/ redirecting is just about as bad as a "click to enter" link, if you ask me. I find them annoying and I think I remember reading somewhere that search engines don't like them but I could be wrong. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
potikyan Posted April 21, 2006 Posted April 21, 2006 you can also setup a redirect that's not noticable to the visitor. put this just after the </title> tag in your index.html or default.html in your root directory. <meta http-equiv="refresh" content="0; url=shop/">
papier Posted April 22, 2006 Posted April 22, 2006 The method suggested by potikyan might not work. The method suggested by wendyjames isn't always the best thing to do, for possible security reasons. The best thing to do is use this to check your redirect: http://www.webconfs.com/redirect-check.php. They also have the various methods that use the typical http header 301: http://www.webconfs.com/how-to-redirect-a-webpage.php Good Luck! :thumbsup:
ozcsys Posted April 22, 2006 Posted April 22, 2006 The method suggested by potikyan might not work. The method suggested by wendyjames isn't always the best thing to do, for possible security reasons. The best thing to do is use this to check your redirect: http://www.webconfs.com/redirect-check.php. They also have the various methods that use the typical http header 301: http://www.webconfs.com/how-to-redirect-a-webpage.php Good Luck! :thumbsup: What security reasons are there for not having your shop installed in the root of your domain? Generally speaking Wendy's idea is the best. Move your site up one level and then edit your two configure.php file to reflect the new location. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
owl17sb Posted April 22, 2006 Author Posted April 22, 2006 Many Thanks for all getting back so quick. I will try the method that WendyJames has suggested as this was what I was hoping I could do. I don't like redirects - it makes me think there is something wrong with the site. I have an SSL installed as well - please tell me it won't effect that!!! :) :)
ozcsys Posted April 22, 2006 Posted April 22, 2006 Many Thanks for all getting back so quick. I will try the method that WendyJames has suggested as this was what I was hoping I could do. I don't like redirects - it makes me think there is something wrong with the site. I have an SSL installed as well - please tell me it won't effect that!!! :) :) It should not just make sure all your paths are correct in your two configure.php files. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
owl17sb Posted April 22, 2006 Author Posted April 22, 2006 Sorry to be so thick - but I am afraid of doing something wrong and losing all the stuff I have done (eventho I have about 3 copies of backup - just in case!!) My paths are as follows Public_html/shop /admin /download /images /includes /pub these are all subfolders of /shop. Do I just drag the subfolders into public_html so that it would be public_html/admin or /includes and then delete the /shop subfolder. Then change the configure.php Does this sound right or am I totally off world! Thanks for any help :)
ozcsys Posted April 22, 2006 Posted April 22, 2006 Sorry to be so thick - but I am afraid of doing something wrong and losing all the stuff I have done (eventho I have about 3 copies of backup - just in case!!) My paths are as follows Public_html/shop /admin /download /images /includes /pub these are all subfolders of /shop. Do I just drag the subfolders into public_html so that it would be public_html/admin or /includes and then delete the /shop subfolder. Then change the configure.php Does this sound right or am I totally off world! Thanks for any help :) Well I would copy them so you can use the /shop files as a test shop but you have it correct The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
owl17sb Posted April 22, 2006 Author Posted April 22, 2006 Thanks for being so quick in your reply. I will have a go in the morning. I think I have had too many glasses for wine to be doing that sort of stuff now. Thanks for your help :)
pingz Posted May 11, 2006 Posted May 11, 2006 You can move all of your files into your root directory (where your index.html would normally be) then edit the /includes/configure.php and /admin/includes/configure.php which is pretty easy, you would just remove any reference to /shop/ redirecting is just about as bad as a "click to enter" link, if you ask me. I find them annoying and I think I remember reading somewhere that search engines don't like them but I could be wrong. hi, i've moved all my files to my root directory and the website is ok. However, after i have edited the the /includes/configure.php and /admin/includes/configure.php files to remove any reference to /shop/, i can't seem to access my product pages from the main page of my website. so, would like to check whether i did the editing wrongly? for e.g. the following: define('DIR_WS_CATALOG', 'shop'); // absolute path required should be edited to define('DIR_WS_CATALOG', ''); // absolute path required? I did it this way and couldn't access to my product pages at all from the main page. I believe probably i edited wrongly or something. could you please advise me? Thank you so much!
yanarasod Posted May 11, 2006 Posted May 11, 2006 i had something exactly same what i did was re-installed oscommerce to on my main domain, copied all files except configure.php and i tell you i am enjoying every bit of my site without any hassles
pingz Posted May 11, 2006 Posted May 11, 2006 hi, i've moved all my files to my root directory and the website is ok. However, after i have edited the the /includes/configure.php and /admin/includes/configure.php files to remove any reference to /shop/, i can't seem to access my product pages from the main page of my website. so, would like to check whether i did the editing wrongly? for e.g. the following: define('DIR_WS_CATALOG', 'shop'); // absolute path required should be edited to define('DIR_WS_CATALOG', ''); // absolute path required? I did it this way and couldn't access to my product pages at all from the main page. I believe probably i edited wrongly or something. could you please advise me? Thank you so much! Oh, I managed to do it. Just leave a "/" in will do the trick. :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.