• Hello There,

    I have copied a site in plesk from one domain to another by using their Website copying feature. Both sites are running on same server. Also changed the urls from the wp_config.php. My problem is when I make change to the copied site, it also changes in the site I copied from. I want to make the changes in the copied site, not in the copied from. Is there any solution?

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • I don’t know the tool, but do you have two seperate database?
    The two site’s wp-config.php files should point to two different database names

    Also if you just copied domain ‘A’ to domain ‘B’ and the database was copied, then domain ‘B’s database will still have the url of domain ‘A’. You need to use phpMyAdmin to change the wp-option table. Find the rows with the ‘option_name’ of ‘siteurl’ and ‘home’ and change them to the url of domain ‘B’

    Thread Starter shuvojyoti

    (@shuvojyoti)

    I have no separate databases. I have copied 1 site to the subdomain. I think I also copied the database. Can you please describe how to change the database? I want make change to the B site, not The A site.

    Thread Starter shuvojyoti

    (@shuvojyoti)

    I have changed the URL name. If i make changes to the site B it also taking effect In site A. I don’t want that.

    I have no separate databases

    if you don’t have seperate databases, then what happens to one site will show in the other – with the exception of styling changes IF you are editing the style.css file.

    So if you add a post to one, the other will see it. If you delete a post from one, it will be gon from teh other. This can be very dangerous…

    You need to make a copy of the database. read this guide

    Thread Starter shuvojyoti

    (@shuvojyoti)

    Thank you juggledad. I have figured it out. Exported mysql data from Site A. Then created a database for Site B. Then imported the data’s in the mysql that created for B. Then added it to the site.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I separate the Databases of Sites After copying the site on same server’ is closed to new replies.