Andreas Hecht July 22nd, 2016

WP Staging: Cloning WordPress Websites per Click

WP Staging, WordPress Cloner
WP Staging is one of the most interesting WordPress plugins I tested recently. With just a few clicks, you can create an exact clone of an entire website. You need a developer page to test plugins and themes? You want to create a new design for your website? Then, this plugin is the one for you. A pure developer page is useful for many different purposes. One of the most intelligent application areas is testing updates, whether it be theme or plugin updates. An update doesn't always end up well. Unfortunately, I can tell you a thing or two about that. Sometimes, a simple update makes your website crock and nothing works anymore. Unlikely? That's what I thought as well. Until it happened to me. After a bit of research, I found the WP Staging Plugin and immediately tested it. It's a true sleeper, at least for websites that don't have the size of Noupe yet. We'd still have to test how simple and fast the process is for really large websites. For regular websites that are based on a reasonable server, the process is done rapidly and without errors.

WP Staging - DB & File Duplicator & Migration

Das Wp Staging Plugin für WordPress The good thing about the plugin is, that it can be accessed for free on WordPress.org. It is constantly in development by renowned German developer René Hermenau, who also developed the Mashshare-Plugin, and provides good support.
  • Developer: René Hermenau, WP-Staging
  • Work in progress: yes
  • Latest version from: three weeks ago
  • Costs: free via WordPress.org
  • License: GNU GENERAL PUBLIC LICENSE
  • Known compatibility issues: unknown
  • Developer homepage: unknown
  • Download on WordPress.org

Cloning a Website Using WP Staging

The cloning process is straightforward. No settings need to be made, even though it would be possible. For one, the DB Copy Query Limit could be defined, which means the amount of database tables that are processed with an ajax request, as well as the File Copy Batch Size, the buffer size in MB. During my testing, I didn't make any changes and I didn't get any error notifications. However, this could be different for cheaper shared hostings, which is why there are settings. Please create a complete database backup before cloning the website. The free plugin BackWPup is a good choice for that purpose.

1 - Starting the Duplication Process

Cloning starts A click on "Create new staging site" will start the process. In the next step, a name is assigned to the cloned page. Here, you should keep it short. The sub folder of the WordPress installation will be where you create the duplicated website in. In this step, you also get to choose the database tables you want to have copied, as well as the WordPress folders that you don't want it to copy. I haven't made any settings here, either. This would make little sense for a pure copy.

2 - Website Scan and Name Assignment

Cloning: Step Two After clicking "Start Cloning", the entire website is copied. This can take a few minutes, depending on the website's size. My small website was copied after two minutes.

3 - The Duplication Begins

Duplication begins

4 - Done. The Cloned Website is Ready to be Used

After a short while, the duplication and installation of the cloned website is done. Yes, you read that correctly. The website is not only cloned and duplicated with all of its settings and activated plugins, it's also installed right away. A click on the highlighted button lets you log into the developer website using your admin access information. wp-staging-complete The only thing that is not copied are the permalinks. The developer page runs using the conventional "messy-links". If you really need permalinks for your clone, you can activate them with a respective .htaccess file.

The Finished Developer Page

Ready To show you that you logged into your developer page, it has flashy colors in the upper admin bar. This allows you to prevent making accidental changes within the wrong website. By the way, all of your plugins have been activated as well, as you can see here: alle-plugins-aktiviert

The Accessibility - for Admins Only

Your developer page is only accessible to admins, and not to the public. Calling up the URL will cause an error message. Before the website can be viewed, an admin needs to be logged in. This is an important security bonus. On top of that, public accessibility doesn't make sense. You are able to call up and use your newly cloned website, by saving the admin access as a bookmark in the browser, or via the landing page's plugin settings. There, you have the option to edit your developer page after changes have been made. This way, your developer page will always be an exact copy with just a few clicks. your developer page will always be an exact copy with just a few clicks Deleting or editing your cloned website, after installing a new plugin, for example, is done just as easily. You are even able to create an entirely new copy.

Conclusion

This small plugin is extremely powerful and useful. With only a few clicks, you have created an absolutely identical copy of your website that you can test freely, without having to fear a crash. In my testing, the plugin worked without any error. I strongly recommend it. (dpe) Featured Image by Gerd Altmann from Pixabay

Andreas Hecht

Andreas Hecht is a journalist and specialist for WordPress and WordPress Security. He roams the web since its inception. He has published an ebook on WordPress Security, which you might want to take a look at.

3 comments

  1. Excellent! It doesn’t seem quite as seamless as wpengine, but you can’t beat free. Definitely going to be using this.

  2. This is fantastic – the world is definitely in need of a better WordPress cloning process for development and testing. I won’t mention the other plugins we’ve used but after testing this it is clearly much more polished. So far it performs exactly as you would expect it to, which is the highest praise one could give a plugin of this sort. Leave it to the Germans to get the details right. As for the permalinks issue, we would always want to replicate them for testing, but this extra step of copying from .htaccess is a minor inconvenience in light of the smooth handling of the database, which seems to be the achilles heel of other cloning plugins. Thanks for this.

  3. I thought I knew everything I needed to jnow about wp migration, and this is the first time I’ve heard of this plugin. I’ve been using Duplicator for quite a while.

    Too bad about that permalink issue though. In my experience, Duplicator handles this as automatically,. You might need to save your permalinks again, but it works.

Leave a Reply

Your email address will not be published. Required fields are marked *