WP Staging – DB & File Duplicator & Migration


This cloning and staging plugin is well tested and work in progress.

If you find any issue, please open a support ticket.

Note: For pushing & migrating plugins and theme files to live site, check out the pro version https://wp-staging.com/

WP Staging for WordPress Migration

This duplicator plugin allows you to create an staging or development environment in seconds*

It creates a clone of your website into a subfolder of your main WordPress installation including an entire copy of your database.
This sounds pretty simple and yes it is! All the hard time-consumptive database and file copying stuff including url replacements is done in the background.

I created this plugin because all other solutions are way too complex, overloaded with dozens of options or having server requirements which are not available on most shared hosting solutions.
All these reasons prevent user from testing new plugins and updates first before installing them on their live website, so its time to release a plugin which has the potential to be merged into everyone´s wordpress workflow.

* Time of creation depends on size of your database and file size

WP Staging helps you to prevent your website from being broken or unavailable because of installing untested plugin updates!

Note: WordPress 5.0 will be shipped with a new visual editor called Gutenberg. Use WP Staging to check if Gutenberg editor is working as intended on your website and that all used plugins are compatible with that new editor.

Main Features

  • Easy: Staging migration applicable for everyone. No configuration needed!
  • Fast: Migration process lasts only a few seconds or minutes, depending on the site’s size and server I/O power
  • Safe: Access to staging site is granted for administrators only.

    More safe:

  • Admin bar reflects that you are working on a staging site
  • Extensive logging if duplication or migration process should fail.
  • New: Compatible to All In One WP Security & Firewall

What does not work or is not tested when running wordpress migration?

  • WordPress migration of wordpress multisites (not tested)
  • WordPress duplicating process on windows server (not tested but will probably work)
    Edit: Duplication on windows server seems to be working well: Read more

Change your workflow of updating themes and plugins data:

  1. Use WP Staging for migration of a production website to a clone site for staging purposes
  2. Customize theme, configuration and plugins or install new plugins
  3. Test everything on your staging site first
  4. Everything running as expected? You are on the save side for migration of all these modifications to your production site!

Why should i use a staging website?

Plugin updates and theme customizations should be tested on a staging platform first. Its recommended to have the staging platform on the same server where the production website is located.
When you run a plugin update or plan to install a new one, it is a necessary task to check first the modifications on a clone of your production website.
This makes sure that any modifications is working on your website without throwing unexpected errors or preventing your site from loading. (Better known as the wordpress blank page error)

Testing a plugin update before installing it in live environment isn´t done very often by most user because existing staging solutions are too complex and need a lot of time to create a
up-to-date copy of your website.

Some people are also afraid of installing plugins updates because they follow the rule “never touch a running system” with having in mind that untested updates are increasing the risk of breaking their site.
I totally understand this and i am guilty as well here, but unfortunately this leads to one of the main reasons why WordPress installations are often outdated, not updated at all and unsecure due to this non-update behavior.

I think its time to change this, so i created “WP Staging” for WordPress migration of staging sites

Can´t I just use my local wordpress development copy for testing like xampp / lampp?

Nope! If your local hardware and software environment is not a 100% exact clone of your production server there is NO guarantee that every aspect
of your local copy is working on your live website exactely as you would expect it.
There are some obvious things like differences in the config of php and the server you are running but even such non obvious settings like the amount of ram or the
the cpu performance can lead to unexpected results on your production website.
There are dozens of other possible cause of failure which can not be handled well when you are testing your changes on a local staging platform.

Estas son las etapas de WP Staging… ¡La clonación de sitios y la creación de sitios de pruebas simplificada!

I just want to migrate the database from one installation to another

Si deseas migrar tu base de datos local a un sitio de producción ya existente, puedes utilizar una herramienta como WP Migrate DB.
WP Staging es sólo para crear un sitio de pruebas con los datos más recientes de tu sitio de producción. Así que funciona al revés que WP Migrate DB.

Ambas herramientas son complementarias entre sí.

What are the benefits compared to a plugin like Duplicator?

Para empezar, me encanta el plugin Duplicator . Duplicator es una gran herramienta para la migración desde el sitio de desarrollo a producción o desde el sitio de producción a uno de desarrollo.
La desventaja es que Duplicator necesita ajustes, intervenciones manuales y prerequisitos para esto. Duplicator también necesita algunas habilidades para poder crear un sitio de desarrollo / producción, mientras WP Staging sólo requiere un clic.

Sin embargo, Duplicator está mejor pensado para ser una herramienta para la creación por primera vez de su sitio de producción. Esto es algo que es muy práctico y potente.

Por lo tanto, si has creado un sitio de desarrollo hospedado o local y necesitas migrar este sitio la primera vez en tu dominio de producción, ¡No hay nada malo en usar el plugin Duplicador! Si necesitas todos los datos de producción más recientes como publicaciones, plugins, actualizados, datos de temas y estilos en un entorno de prueba, ¡entonces recomiendo usar WP Staging en su lugar!

I need you feedback

Se le han dedicado cientos de horas para hacer que funcione incluso en los paquetes de hospedaje compartido más pequeños, pero estoy limitado a probar esto sólo en un puñado de diferentes servidores por lo que necesito tu ayuda:
Abre una solicitud de asistencia y describe tu problema con exactitud. En wp-content/wp-staging/logs encontrarás extensos registros. Echa un vistazo a ellos y hazme saber las líneas de error lanzadas.


Permalinks are disabled on the staging site because the staging site is cloned into a subfolder and permalinks are not working on all systems
without doing changes to the .htaccess (Apache server) or nginx.conf (Nginx Server).
Read here how to activate permalinks on the staging site.

How to install and setup?

Instálalo a través del panel de administración y ‘Plugins’, haz clic en ‘Añadir nuevo’ y busca los plugins para ‘Staging’. Instala el plugin con ‘Instalar ahora’. Después de la instalación ve a la página de configuración ‘Staging’ y configúralo.

Sitio oficial



  • Step 1. Create new WordPress staging site
  • Step 2. Scanning your website for files and database tables
  • Step 3. WordPress Staging site creation in progress
  • Finish!


  1. Download the file “wp-staging.zip”:
  2. Upload and install it via the WordPress plugin backend wp-admin > plugins > add new > uploads
  3. Activa el plugin desde el menú ‘Plugins’ de WordPress.

Preguntas frecuentes

  • I can not login to the staging site
    If you are using a security plugin like All In One WP Security & Firewall you need to install latest version of WP Staging.
    Go to WP Staging > Settings and add the slug to the custom login page which you set up in All In One WP Security & Firewall plugin.


Works Great

The plugin is easy to understand and use. It does just what it claims to do. I was able to create a staging site environment in a matter of minutes. Thanks, guys!

Essential tool for Design/Stability testing

If you are not a full developer with expertise in versioning and site deployment tools, but want to make some site modifications, this is an essential plugin. I use it to test:
1) plugin updates
2) new plugins
3) site design changes
before committing them to my production site.

There are a few quirks related to having to log in to the staged site that prevents some of the original site functionality. For example, I like to use the ability to change to another user with the “Switch User” plugin, but WP Staging stops that. However, these are minor quibbles compared with the benefits and overall ease of use of WP Staging.

Leer todas las 829 reseñas

Colaboradores y desarrolladores

“WP Staging – DB & File Duplicator & Migration” es un software de código abierto. Las siguientes personas han colaborado con este plugin.


“WP Staging – DB & File Duplicator & Migration” ha sido traducido a 1 idioma. Gracias a los traductores por sus contribuciones.

Traduce “WP Staging – DB & File Duplicator & Migration” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN , o suscríbete al log de desarrollo por RSS .

Registro de cambios


  • Fix: Updating staging site does not exclude Windows IIS configuration file web.config and can lead to server error
  • Fix: Redirect to the correct url after log in to staging site
  • Fix: Supports HTML entities in links created by WP Backery Page Builder Plugin
  • New: Support for custom and non-default wp-content and uploads folder
  • New: Option to show again the rating notice in a week


  • Fix: Error 500 on some systems when files are collected and plugin iterates through the directories


  • Fix: Error notice if user tries to update staging site located in another database
  • Fix: Search & Replace adds staging site subfolder multiple times to replaced string when staging site is updated
  • Fix: Missing ajax delay setting


  • New: Compatible to WP 5.0.0 Gutenberg
  • New: Increase file scanning process performance
  • New: Preview for external database cloning
  • New: Add delay between requests setting to prevent timeouts on rate limited servers
  • New: Try again automatically cloning process if ajax request has been killed due to server ressource limit error

  • Fix: Error when removing heartbeat api

  • Fix: remove ? parameter from staging site
  • Fix: Do not load theme while WP Staging is running. Prevents processing interruption if there are fatal errors in the theme
  • Fix: When cloning has been canceled page needs to be reloaded before beeing able to clone again
  • Fix: Under rare circumstances plugins are disabled when wp staging runs.
  • Fix: Prevent error 503 (firewall/performance timeout) by adding post parameter to the ajax url
  • Fix: Adding automatic resume function to the ajax processing to prevent cloning and pushing interruptions due to hitting server ressource or network glitches.
  • Fix: Selected folders are not excluded under Windows IIS server
  • Fix: Windows IIS server compatibilility issues resolved


  • New: Support for wp-config.php located in one level up of the root folder for multisites
  • New: Allow exclusion of custom options from wp_options from beeing pushed
  • New: Make sure Optimizer is installed and activated
  • New: Show date of site creation/update in list of staging sites
  • Tweak: Better looking UI elements
  • Fix: Requirements Check not working as intended
  • Fix: Filesize() failed if file to copy is not a regular file
  • Fix: remove ? parameter from staging site

Complete changelog: https://wp-staging.com/wp-staging-changelog