• I duplicated a linux-hosted WP site by: copying all files from the root directory of sourceDomain to DestinationDomain; creating a new mysql_db for the DestinationDomain; using phpMyAdmin to upload a current backup copy of the source mysql_db into the new mysql_db.

    Now when I go to newDomain, it looks just like oldDomain, however:
    when I make changes in https://newDomain/wp-admin/, those changes appear in both domains.

    My question: do I have to start over again with the newDomain, or might this be a matter of pointing a few things to the new files?

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you did not edit the new wp-config to point to the hew database, it sounds to me like you now have two sites using the first database. After editing wp-config to use the new database, you will need to complete “moving WordPress” so the new database will know the new WordPress location.

    https://www.google.com/search?q=moving+wordpress

    Thread Starter dagnew

    (@dagnew)

    Okay, I realized that I hadn’t changed wp-config.php! That seems to help, but I am wondering what issues lurk (besides hard-coded urls).

    Thread Starter dagnew

    (@dagnew)

    thank you, leejosepho – I made the above post without seeing your post, so I’ll review the resource you posted!

    I would put some ‘deny all’ htaccess in place until you get that all sorted out, and then also be certain the second site is not being indexed or else you will destroy the first site’s SEO.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem after duplicating a website’ is closed to new replies.