hollyj55 Posted October 19, 2007 Share Posted October 19, 2007 Hi, We have OSC installed in directory named catalog but want to know if possible to move index.php out into root so site will function and be visible on domain name only without having to add /catalog. Don't know too much about php, so not sure if this is possible, and if it is, I would be grateful if somebody could tell me what I need to change php wise apart from the obvious html paths. Tks Holly Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 19, 2007 Share Posted October 19, 2007 Copy all contents of the catalog directory to the root and edit the two configure files so there is no mention of catalog (lower case). Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted October 19, 2007 Share Posted October 19, 2007 It would be a less problems to just re-direct as I have.In cpanel or vdec go to setting and redirect.Put full path to your catalog and be done. Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 20, 2007 Share Posted October 20, 2007 It may be less trouble but many that redirect code may not return the correct header. Be sure it is returning a status of 200 OK or you will have problems. I've even seen a few such redirects added via an html redirect, which is a big no-no. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.