joelmalach Posted May 12, 2017 Share Posted May 12, 2017 Hi. I would like to move Cubecart from the root folder to a subfolder so I can create a nice front page for clients. Can I do this without reinstalling the whole thing? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted May 12, 2017 Share Posted May 12, 2017 If you have SSL enabled login to the admin side of the store. Go to "Settings" then the SSL tab. Update the paths to reflect the new one. Once done create the folder you want to move it to. Select all the files with an FTP client and move them to the new folder. Empty the stores cache folder. All should be fine. 1 Quote Link to comment Share on other sites More sharing options...
Noodleman Posted May 12, 2017 Share Posted May 12, 2017 you might need to delete the .htaccess file and let it re-create. ensure permissions are correct on the newly created directory. 1 Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted May 12, 2017 Share Posted May 12, 2017 Just now, Noodleman said: you might need to delete the .htaccess file and let it re-create. ensure permissions are correct on the newly created directory. I forgot about that bit! I'll create a KB article.. Quote Link to comment Share on other sites More sharing options...
joelmalach Posted May 12, 2017 Author Share Posted May 12, 2017 Hi - thanks for your responses. Al - I don't have SSL. Can you let me know the process for a non-SSL site please Noodleman. If I delete the .htaccess file, does Cubecart create a new one automatically? Thanks Quote Link to comment Share on other sites More sharing options...
Noodleman Posted May 12, 2017 Share Posted May 12, 2017 It does create a new one for you, as long as the new directory has the correct permissions. If you have made any modifications to your .htaccess file you should take a backup of it first so you can re-apply those changes to the newly generated file. 1 Quote Link to comment Share on other sites More sharing options...
joelmalach Posted May 12, 2017 Author Share Posted May 12, 2017 Thanks Al Do you know the process for moving the site to a subfolder for a non-SSL site? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted May 12, 2017 Share Posted May 12, 2017 Exactly the same as stated but you dont need to update the SSL settings (although if it is disabled you can do that as it makes no difference) Ian Quote Link to comment Share on other sites More sharing options...
joelmalach Posted May 12, 2017 Author Share Posted May 12, 2017 Update Thanks for your help guys. I have now moved Cubecart to a subfolder Just to explain for those with a non-SSL site, simply create a new folder in your root, e.g. shop Delete the .htaccess file in your root (don't forget to save any amendments you've made to the .htaccess file yourself and create a new one with just your entries) Move all the files and folders from your root to the new folder The only other thing I did was go to Advanced, Maintenance and clicked rebuild sitemap. I think this is what forced Cubecart to rebuild the new .htaccess file For some reason, I had to upload some of the images again, but apart from that it went seamlessly Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.