Can i move the C5 files to a different folder when i'm done setting it up?

Permalink
The idea is that i make a "new-site" folder in the root of the site, drop C5 in there, install it and set it up and when i'm done with that, delete all other files in the root folder and move it back to the root.
Is that doable?
The first time i did it i just put the old site in a "old-site" folder and had a link in the front page of C5 for users that wanted to access it, didn't seem that right to me but it was a rushed job...
Thanks for any help!

sk3pt1c
 
studio108 replied on at Permalink Reply
studio108
Yes, this is possible. When you move the C5 installation from the sub-directory folder into the root folder you will need to remove the relative path in 'site.php' file.

Open the /config/site.php NOT the /concrete/config folder

You then change

define('DIR_REL', '/new-sitefoldername');
to
define('DIR_REL', '');

This should then point to your hosted root folder. It's explained in more depth in the link below.

http://www.concrete5.org/documentation/installation/moving_a_site/...

Hope this helps.
sk3pt1c replied on at Permalink Reply
sk3pt1c
great, thank you! :)
i'll do it when the site's done and get back to this if i have any problems.
thanks again! :)
mlane replied on at Permalink Reply
mlane
What if the reference in this file originally shows:

<?php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1_updater');?>


instead of the DIR_REL reference.

I as well want to move my C5 development/install from the

http://www.sitename.com/conc to thehttp://www.sitename.com

The C5 install is in the conc/ location, will I need to remove the current public_html/www contents and install the C5 before moving the contents from the sub directory?
mlane replied on at Permalink Reply
mlane
What if the reference in this file originally shows:

<?php define('DIRNAME_APP_UPDATED', 'concrete5.6.2.1_updater');?>


instead of the DIR_REL reference.

I as well want to move my C5 development/install from the

http://www.sitename.com/conc to thehttp://www.sitename.com

The C5 install is in the conc/ location, will I need to remove the current public_html/www contents and install the C5 before moving the contents from the sub directory?
JohntheFish replied on at Permalink Reply
JohntheFish
This howto is how I and many others organise our sites and webspace:

http://www.concrete5.org/documentation/how-tos/developers/organise-...