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

coolrebel
 
Mnkras replied on at Permalink Reply
Mnkras
http://www.concrete5.org/documentation/installation/moving_a_site
coolrebel replied on at Permalink Reply 1 Attachment
coolrebel
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
nteaviation replied on at Permalink Reply
nteaviation
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.
coolrebel replied on at Permalink Reply
coolrebel
I was hoping I wouldn't have to do that but I have a feeling you're right.
nteaviation replied on at Permalink Reply
nteaviation
Another alternative is to duplicate the site (file structure and database) and remove all unwanted content. Not sure which method would be faster.
coolrebel replied on at Permalink Reply
coolrebel
i'm guessing the former - i just installed it fresh.
nteaviation replied on at Permalink Reply
nteaviation
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! :)
Mnkras replied on at Permalink Reply
Mnkras
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,