Irin Posted August 4, 2006 Share Posted August 4, 2006 Hello, Could anybody please advise me on what is the easiest way to move my oscommerce shop from subfolder to the root? Right now I have my shop in /var/www/mydomain/osCommerce/ and I want to move it to /var/www/mydomain/. How can I do it without getting into troubles? Any help would be appreciated. Thanks in advance. Link to comment Share on other sites More sharing options...
Guest Posted August 4, 2006 Share Posted August 4, 2006 All you need to do is make edits to the server paths in OSCommerce/includes/configure.php and OSCommerce/admin/includes/configure.php. Link to comment Share on other sites More sharing options...
Irin Posted August 5, 2006 Author Share Posted August 5, 2006 All you need to do is make edits to the server paths in OSCommerce/includes/configure.php and OSCommerce/admin/includes/configure.php. Thanks for your reply, Tristan. I have another question. Do I need to reinstall oscommerce once I have moved all my folders and subfolders to a new location or it's just enough to make edits in both catalog and admin configure.php files since I'll be using the same database? Does it mean that I'll be able to access my store from two places, like actually having two stores? Thanks. Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2006 Share Posted August 5, 2006 Thanks for your reply, Tristan. I have another question. Do I need to reinstall oscommerce once I have moved all my folders and subfolders to a new location or it's just enough to make edits in both catalog and admin configure.php files since I'll be using the same database? Does it mean that I'll be able to access my store from two places, like actually having two stores? Thanks. if you move your store then you're moving it from one location to another, meaning you still have only one store. Now, if you copy and paste your store, leaving the original and creating a new store, then you wil have 2 stores. So, the plain answer is, you can only access your store from one place if you are moving it. You do not need to do a reinstall of oscommerce. Link to comment Share on other sites More sharing options...
Irin Posted August 6, 2006 Author Share Posted August 6, 2006 if you move your store then you're moving it from one location to another, meaning you still have only one store. Now, if you copy and paste your store, leaving the original and creating a new store, then you wil have 2 stores. So, the plain answer is, you can only access your store from one place if you are moving it. You do not need to do a reinstall of oscommerce. Is there anyhow I can redirect people accessing my store from old location to a new one? I don't want just to remove my previous folder to avoid broken links. Is there any way to make a redirection? Thanks. Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share Posted August 6, 2006 so would you rename the files that are /osc to /web or what Link to comment Share on other sites More sharing options...
Irin Posted August 6, 2006 Author Share Posted August 6, 2006 so would you rename the files that are /osc to /web or what When I originally installed oscommerce, I placed it in a folder named oscommerce, so the path to my store was /var/www/mydomain/osCommerce/ and now I moved it one level up so the path to my store is /var/www/mydomain/. And now I have kind of two stores, the original which is in the folder /oscommerce/ and the one I copy and pasted. Now, I want to delete the folder /oscommerce/ but before I do, I wanted to make redirection to the new location so if anybody to access my store from the old path will be redirected to a new location. I hope it makes sense. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.