• Bill

    (@hutchinsondesign)


    Hi, I am currently moving a wordpress site to a new location, and trying to minimize downtime on the current page.

    Old server (current): https://www.campbelltontigers.ca
    New server: https://www.campbelltontigers.ca.c11.previewyoursite.com

    Actions performed:

    – Exported database from current server
    – Imported into new server

    The new location seems to be working correctly, minus some fixes I’ll make via the dashboard.

    To access the dashboard in the new location, I’m assuming I’ll need to change the site url, however how will that affect the live site?

    My question is, what would be the next steps in the transfer of the site?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Old server (current): https://www.campbelltontigers.ca
    New server: https://www.campbelltontigers.ca.c11.previewyoursite.com

    To access the dashboard in the new location, I’m assuming I’ll need to change the site url, however how will that affect the live site?

    These are separate installations with separate databases and files right? The IP addresses are different so I’m guessing so. Changing the new server site URL will not effect the existing server.

    When you are ready to cut over, update the DNS so that https://www.campbelltontigers.ca points to the IP address of https://www.campbelltontigers.ca.c11.previewyoursite.com and just switch your site URL on the new installation from the preview URL to the real one.

    Thread Starter Bill

    (@hutchinsondesign)

    Thanks Jan, however when I login to the new server admin, I am redirected to the campbelltontigers.ca dashboard.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Thanks Jan, however when I login to the new server admin, I am redirected to the campbelltontigers.ca dashboard.

    Yes, and that’s right too. The site URL is pointing there after all in your restored database.

    Update the preview version with the temporary site URL and hard code the option in wp-config.php this way

    define('WP_HOME','https://www.campbelltontigers.ca.c11.previewyoursite.com');
    define('WP_SITEURL','https://www.campbelltontigers.ca.c11.previewyoursite.com');

    That will let you login to the preview version with that URL. Once the DNS is updated, remove those two lines in wp-config.php and your database settings for those options will take over.

    https://codex.www.ads-software.com/Changing_The_Site_URL

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Transfer of WordPress site – url’ is closed to new replies.