• Resolved nitinkal

    (@nitinkal)


    Hi! I was having wordpress site for both my dev environment and production environment.
    My dev environment had old data i neeeded that to be in sync with production environment how to do this. Basically i want to overwrite my dev environment with what’s in production.
    Thanks

    • This topic was modified 2 years, 5 months ago by nitinkal.
Viewing 4 replies - 1 through 4 (of 4 total)
  • @nitinkal You can either manually copy everything or you can use a plugin to help create a duplicate site. I use this particular plugin on a regular basis and it works like a charm. https://www.ads-software.com/plugins/duplicator/ However, you can also visit https://www.ads-software.com/plugins/ and search for keywords such as migration, backup or staging and see a list of plugins that will provide a similar function.

    Thread Starter nitinkal

    (@nitinkal)

    @wlpdrpat Alright! Thanks for the information!
    If i decided to do it manually. Do you know what are steps i need to follow?
    Thanks

    @nitinkal take a copy of all files. Export a copy of your database. Then import your database and update wp-config.php with any changes to the username, password, and URL for accessing the database and add the following lines of code to update the site URL:

    define( 'WP_HOME', 'https://yourlocalurl.tld' );
    define( 'WP_SITEURL', 'https://yourlocalurl.tld' );
    
    /* That's all, stop editing! Happy publishing. */
    Thread Starter nitinkal

    (@nitinkal)

    Can’t i use wordpress inbuilt tools?
    There is something called export under tools section which creates an xml file.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to move wordpress data from one evn to another to sync them’ is closed to new replies.