I need to move a 1.6 EE site into a deeper directory. Any advice on how to do this?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 24, 2010 1:22am
Subscribe [3]#1 / Oct 24, 2010 1:22am
I need to move a 1.6 EE site into a deeper directory. Any advice on how to do this?
#2 / Oct 24, 2010 5:44pm
Hi lag47,
Firstly, before you do anything like this make sure that you have a suitable backup.
Assuming that your site is currently at http://domain.com/ee/ and you want to move it to http://domain.com/folder/ee/ and that you have a standard installation i.e. all your system files are in the same folder, you should just be able to FTP into your site and move all the files from /path/to/ee/ to /path/to/folder/ee/ and then you’ll need to:
1. clear all the files from your system/cache folder apart from the index.html file and any .htaccess file
2. update the cp_url configuration key in your system/config.php file
3. if you have any cookie settings in your config.php file make sure and update them appropriately
You should now be able to log into your control panel at http://domain.com/folder/ee/system/ and update your theme folder URL and theme path settings at Admin > System Preferences > General Configuration - the control panel will be completely unstyled before doing this. You can also set those in your config.php file using config overrides.
You will also want to make sure and update the template save path and any image upload directories etc. The process would be very similar to a server migration.
Cheers
Greg
#3 / Oct 24, 2010 5:46pm
Thanks much!
#4 / Oct 25, 2010 8:07am
lag47, is everything working now?