Renaming c5 Directory / Moving to New Server
PermalinkI have been experimenting/working on my first c5 site for a local artist on my server. I now want to show them my progress, but before I do is it possible to rename the folder that I uploaded c5 into, for the sake of tidiness. To elaborate I initially uploaded everything into myserver.com/concrete/ ... so yes that also means I also have myserver.com/concrete/concrete/ which an be a bit of a headache...! It seems that simply renaming the main 'concrete' dir on the server resulted in problems, is there a possible way of renaming the main folder successfully?
When the site is complete on my server I want to transfer it to the artist's own server. Is this difficult to do? Worst case scenario I have my theme/css files and I would have to reupload everything on the other server and then recreate all of the pages, but if this can be avoided that would be superb.
Thanks in advance. Happy new year everyone!
Chris
but this for the first install isn't?
how if we already install it?
Cute bio by the way - ha!
What I told you was correct, but it seems there are some steps I failed to mention. Here is a link to C5's how-to on moving a C5 site, with the complete details:
http://www.concrete5.org/documentation/installation/moving_a_site...
Kate
When I use those values as in
define('BASE_URL', 'http://www.my_url.com');
define('DIR_REL', '/my_directory');
all works fine except the images cannot be found because the sub-directory is not in the path as in
http://www.my_url.com/files/9713/6605/7737/the-rotary-club-of-bend....
Do you know where that url is set or what variable is used?
Todd
If you move where you have the files located, or rename the directory they are in, you will need to modify the ../config/site.php file to reflect the change. It should contain these two lines:
This is true of installations prior to 5.5, but I'm not sure about 5.5.