Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
There are several reasons why you might want to duplicate a Drupal Gardens site. For example, you could build a template site that you then use to build a suite of sites with the same look and feel. Or you could duplicate an existing site, change it a little bit, and present the new look for user testing and possible adoption. Or you could simply use duplications as an easy way to back up your site. In fact, that's exactly what I did while I was making this course. After each video, I would back up the site by duplicating it. But whatever your reasons, Drupal Gardens makes site duplication easy.
It's just a few clicks. The way you do it is you go up to My sites while you're logged in as the Administrator, go to the site you want--in this case we have only one in our Site manager--and go over to his More link here. From there, you click Duplicate Site. You then enter whatever name you want to have for it. I am going to say explorercalifornia02. There is one thing to know though: you can't put in any kind of punctuation here or unusual characters.
If you try to, it'll stop you at some point. So I'll just say explorecalifornia02 and duplicate site. Do note the warning up here: User accounts with site owner or administrator will be copied to the new site but nobody else will, neither the user accounts nor the content that they create. So this is not a good way to keep all of the content that somebody's created and put on your site. If you want to do that, the best thing to do is to export the site and then host it yourself.
Unfortunately, there's no way for you to duplicate it and keep it on Drupal Gardens with all of that user-created content. Once it's ready, you'll be told that your site is being duplicated. This will actually take a while, but eventually an e-mail will appear in your mailbox. To see it, I go up to my mailbox here. It typically takes a few minutes for that e-mail to arrive, but once it's there, you open it, and it will give you a little bit of information about the site having been created. If you go back to your Site manager and reload the page by clicking on My sites, you then see your new site, which you can log into, as usual, by clicking on the link.
Again, it'll look like your old site, but it won't have any of your old users or your old user content. Nice feature, huh? Let's go back and take a look at all of my sites. Click on My sites up here, and we see it again. Now, let's say that you've been duplicating and duplicating sites, and eventually this list is much longer than you really want it to be. Well, it's easy enough to delete sites. You go to More and then down to Delete Site. Here it gives you the typical warning that you really are going to delete it, and not only is it going to delete all of the content and all of the users from your site, but it'll also make that URL available again.
So if I wanted to protect that explorecalifornia02 domain, I really shouldn't delete it; instead, I should take it off-line, and there is a link here that shows you how to do that. But let's say I really do want to delete it. Click Delete and I get this warning that it's not yet deleted. That's because, once again, it's going to send an e-mail to me to confirm that I really want to delete it. This e-mail tends to take a lot less time than it does when you duplicate a site. That's because it takes less work apparently to clear that site from the servers, as opposed to creating a new site.
So I switch back to my mail program, click to see if I have any new mail, and indeed there it is. Confirm deletion of your site. I click that and I see a link in here. Now remember, the site doesn't get deleted until I actually click that link. And in fact, if I don't click it within 24 hours, then the request to delete it just goes away. So I click it and Drupal Gardens just says, there. It's gone! Nice features, huh? Now because Drupal Gardens allows you to create these sites and delete them so easily, I'd like to suggest that you start from the very beginning with a good plan of how you're going to name the sites.
If you're doing it as backups, for example, it's a good idea to do it in some sort of serial-number fashion, perhaps with a date or the time of day; otherwise, you might find that you have 20 or 30 sites listed and not know which one is the most recent. In any case, I really appreciate that Drupal Gardens offer these features because they help me keep my sites in my control.
Get unlimited access to all courses for just $25/month.Become a member