Moving C5 folders
Permalink
Hoping someone can clarify for me....
I have an existing website not running on C5, but I was going to install C5 in a subfolder and rebuild the site there. Once completed, can I just drag all the files into the root and remove the old ones? Will I need to update the .htaccess file or any other files to ensure it moves across seamlessly?
Any tips/suggestions greatly appreciated
I have an existing website not running on C5, but I was going to install C5 in a subfolder and rebuild the site there. Once completed, can I just drag all the files into the root and remove the old ones? Will I need to update the .htaccess file or any other files to ensure it moves across seamlessly?
Any tips/suggestions greatly appreciated
Rather than move the subfolder, with many hosts you can simply change the domain pointer so it points directly to the subfolder.
See.
http://www.concrete5.org/documentation/how-tos/developers/organise-...
See.
http://www.concrete5.org/documentation/how-tos/developers/organise-...
The .htaccess file will need to be updated (I think only if Pretty URLs were enabled) ... change this line:
RewriteBase ...
and possibly site.php in the config folder as well if it has these lines in it (seems to only be in older versions of C5 though):
define('BASE_URL', 'http://www.xxxxxxxxxxxxxx.com');
define('DIR_REL', '');