• millerb7

    (@millerb7)


    I want to do:

    • Take a LIVE website and move it to a new test website located on a different server
    • Make changes, maybe a theme, CSS, javascript changes
    • Move the site BACK to the live server, replacing what is there

    I read thru the instruction on www.ads-software.com and it just isn’t working. I cannot get the current database to upload to the test server.

    The steps as I think they need to be done:
    1. Copy entire current WP site via FTP
    2. Copy current WP site database file via myphpadmin
    3. Install wordpress on test site (via Softaculous).
    – I don’t have fantastico on test server, I like Softaculous better, but live server has Fantastico
    4. I then upload the database to the test server (won’t upload for some reason).
    5. Edit wp-config.php file to point to database I uploaded onto test server

    It “should” work after that… I thought. But I cannot get it to work.

    Anybody care to give me a step by step? I know I can go into the current site and change the URL in the settings to the test servers URL but then that brings down the live site, which I don’t want.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Elan Technosys

    (@elantechnosys)

    Upload the wp site via ftp which you downloaded from live site also export the data base if you can’t import the database create a database on test server import table on it edit config file change the database details with new one.

    Thread Starter millerb7

    (@millerb7)

    So I don’t actually have to install wordpress via fantastico (softaculous on my test server)? I can just straight upload all the files via FTP?

    Or should I install wordpress then overwrite the files with the stuff from the old site?

    Also, at any point do I need to go into the settings of the live site and edit the two URLs? I know it says that on the www.ads-software.com support stuff, but again, that then renders the site useless does it not?

    Elan Technosys

    (@elantechnosys)

    Upload all wp files yes you need to change the that links but if you do that you will not able to access it so upload the database tables via phpmyadmin after uploading go to wp-options table and browse it and then change the site url to test server.

    Thread Starter millerb7

    (@millerb7)

    Ah. So I can do it via that wp-options table INSTEAD of doing it in the actual wordpress backend settings area?

    I really appreciate you answering these questions… huge help!

    It’s so much easier to just move from a test server to a live site when you don’t care if the test server keeps working… as you just edit the settings URL in the backend… but since I need to keep the stuff working this time it threw me for a loop.

    Elan Technosys

    (@elantechnosys)

    Yes change the URL via phpmyadmin As if you move that then you were not able to do it from wordpress backend settings and if you do that in test server then you will not able to login in test server and it will work on live site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mirror site to new server and back again’ is closed to new replies.