Duplicate a site for testing

Hey all,
I have a client that would like a copy of the site somewhere so they can do some testing.

What would be the best way to do this? I thought about making a page called "Test", and then drag and copy all the pages under it. This kinda works, but the nav for these pages still references the "Original" pages. Also, I can't seem to get the Home page to drag to copy it.

Or should I create a "test" sub directory on their domain, and do a fresh install of c5 there, and just download the site, and upload to this sub directory (fixing the location stuff in the site.php, of course). But I think there would be database issues with this solution.

Or Option 3 that I am not thinking of. and one of you has more knowledge that I do about pulling something like this off.

Lots of questions I know... and I apologize.
Running version

Thanks in advance.

View Replies:
mesuva replied on at Permalink Reply
When you say 'testing', what do you mean exactly?

Do you mean your client just wants to be able to try out editing and see how it all works, or will they actually be putting in their own content?

What you don't want to do is end up with two copies of your site where you're working on one and they are placing content in another... I'd either let them edit the main site with guidance, or create a complete copy and host it somewhere else, being very clear that it will be blown away down the track.

I think you should avoid the idea of copying all the pages of the site under a page, I think that might get really messy.
VidalThemes replied on at Permalink Reply
I agree with Mesuva, I would probably advise the client to set up a local install, using MAMP, WAMP, XAMPP etc, and just take a copy of the theme and install it on the local version, the client can prod and poke all they like without damaging the site then, the other benefit is the client doesnt need to be connected to any server, if they are happy with any changes they make they can just FTP a new file.

There are a few How-to's about setting up local environments, I wrote one for MAMP on Mac:

concrete5russia replied on at Permalink Reply
In this case I do the following:
1) make backup of the files (directory files/);
2) make backup of database in MySQL;
3) Let a client to test site (he can change everything, even delete or create new pages, change all content, change all parameters in dashboard);
4) After the testing complete, I restore the site with backups and I have the site, which was originally, without changes which was made by client during his tests.

What do you think about this method of testing for a client?
chadmtate replied on at Permalink Reply
The client is wanting to "Try some things out" to see how they would look without messing with the current Live site. I personally think the second installation is probably the best idea.

I can download the entire site, but how do I handle the database? We would have to create a new one in the new location, but could I "restore" the live database to this new location?

Again thank you for your help.