• Hey, So I’m trying to duplicate my live site on the server and to create a site to play with.

    1. I’ve created a directory and duplicated the same wordpress files.
    2. I’ve duplicated the database and given it a new name.
    3. Updated the wp-config file with new database details and added:
    define(‘WP_SITEURL’, ‘https://mysite.co/play’);
    define(‘WP_HOME’, ‘https://mysite.co/play’);
    4. Updated the site_url and home option_value in the database to https://mysite.co/play.

    So I can view the site correctly but when I click on any link, it takes me to the live site… Obviously I want to break this and keep the dev site completely separate. Not sure what might still be pointing to the live site.

    Any ideas gratefully received!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate 'test' site’ is closed to new replies.