• Resolved skopelos-tony

    (@skopelosvillas)


    Hi there Cory,

    I’ve been using Duplicator for a few years now and couldn’t imagine my sites without it!!!
    I need a suggestion for the following please:
    I often work with clients where I develop a few different versions of their websites for them to see and decide which version they like best.
    So for example I will have one local installation called ‘theirsite.com’ then another ‘theirsiteversion2.com’. Each one of them uses the same Theme -but varies in design, colors etc.
    If they decide to go with ‘theirsiteversion2’ I would need to somehow either re-create this site in a new installation with the correct DB name, (theirsite), or try and change db name of ‘version2’, (to ‘theirsite’), drop original db in php.MyAdmin and change ‘version2’ to the name of the main db I want, then change it in wp-config file. I tried this yesterday mostly out of curiosity and it did not work. I got all sorts of errors.

    What do you suggest I do for cases like this? Is there a way to use Duplicator installs effectively for version controls? So if I decide to use installation called ‘version2’ I can then rename it as the main ‘theirsite’ DB?

    Hope I’m making sense 🙂

    Thank you very much for your time..

    • This topic was modified 5 years, 4 months ago by skopelos-tony.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @skopelosvillas,

    The plugin is really not a substitute for version control or merging changes. I think the best resource we might have to give you is this article:
    https://snapcreek.com/blog/wordpress/techniques/create-wordpress-staging-site/

    Hope that helps~

    Thread Starter skopelos-tony

    (@skopelosvillas)

    Hi Cory,

    Thanks! I had done this once before but resulted in issues from staging to live, (url’s etc).

    Thanks anyway for your time!!

    Thread Starter skopelos-tony

    (@skopelosvillas)

    Hi Cory,

    Just to let you know! I was just able to figure out a ‘work-around’ for my ‘issue’.
    I first tried to run a SQL command to ‘search-replace’ existing url to new url, (so I can work on a different version of same local project). While this ran successfully, when I tried to log into my site, it gave me the choice of setting a language, (treated it as the beginning of a new wp installation).
    So, I dropped this db already, (having a duplicator b/up prior to all this) and:
    1. Created a new db with the name I wanted, ‘mysitetest’
    2. Threw in my Duplicator b/up of 1st local site, ‘mysite’
    3. Proceeded with the installer.php as per normal
    4. Voila…before I knew it, I had another test version of the same site without any problems…!

    I’m now going to create another version I want so I can take a new theme for a ride… 🙂

    Happy Chappy… 🙂
    Merry Christmas

    • This reply was modified 5 years, 4 months ago by skopelos-tony.

    Excellent! Glad you got things going…

    Merry Christmas…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using Duplicator for site versions?’ is closed to new replies.