Cloning an complete C5 site on a New Domain
Permalink
Could someone give me the basics on this? Are there config files I need to alter etc?
I want to use site 1 as a basis for site 2.
Many thanks in advance for your help.
Simon
I want to use site 1 as a basis for site 2.
Many thanks in advance for your help.
Simon
http://www.concrete5.org/documentation/installation/moving_a_site
Hey Mike
My plan is to use site 1 as the basis of site 2.
I'd like to avoid having to create a new installation of the basic c5 on site 2 and have to recreate the theme etc from scratch.
I followed the instructions on the page you sent me - but i got a bit messed up on the database.
i don't want to import the site 1 db. I want a blank db that i can build on from scratch in 2
So I created a new database + user + pw + adjusted site.php as you described.
but ended up with this...
Many thanks for all your help on this
Simon
My plan is to use site 1 as the basis of site 2.
I'd like to avoid having to create a new installation of the basic c5 on site 2 and have to recreate the theme etc from scratch.
I followed the instructions on the page you sent me - but i got a bit messed up on the database.
i don't want to import the site 1 db. I want a blank db that i can build on from scratch in 2
So I created a new database + user + pw + adjusted site.php as you described.
but ended up with this...
Many thanks for all your help on this
Simon
If the theme is the only thing you modified, I think you would be better off with a new installation and then installing your modifed theme and any custom blocks and plugins. The problem is, there is lots of data stored in the database that deals with blocks, themes, plugins, etc.. so you can't just clear the database. I hope that makes sense.
I was hoping I wouldn't have to do that but I have a feeling you're right.
Another alternative is to duplicate the site (file structure and database) and remove all unwanted content. Not sure which method would be faster.
i'm guessing the former - i just installed it fresh.
I think you are probably right. On the bright side, once you have the new install "tweeked" you will have a configuration that you can snapshot and clone from. Good luck! :)
yea when you said Cloning i thought you wanted the exact site, but yea, you can either do a fresh install or move/clone it,
you can try to setup a central core with symlinks,
you can try to setup a central core with symlinks,