Wordpress - Backup/clone help

Asked

Viewed 20 times

0

I’ve been doing a job that the customer has required their site to stay online and the same way until all the changes are made. How can I do that ?? Would I have to use another domain?? I would like to change the theme but am afraid that the site will not come back as before.

I tested the theme using the THEME TEST DRIVE plugin and the site gave a slight flaw in css when returning.

1 answer

0


Here’s what I would do

  1. Clone/backup the database

  2. Create another database with cloned data

  3. Duplicate (copy and put) the entire WP installation to another folder ex /public_html/novo

  4. Alter in wp-config.php to point the data set to the cloned database.

  5. Fix the possible errors you will get because of the URL, basically a link like this http://meudominio.com.br/nome-do-post would have to stay http://meudominio.com.br/novo/nome-do-post. Of course this will change according to where you put the copy. The wp-cli can help a lot, not only in this but in other things too.

  6. At that point Voce should have a copy of the site working independently, ai can make your changes and tests without affecting the current site.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.