copied site is still connected

Permalink
I copied a site to another domain which is almost exactly the same, but they need to be 2 different sites. I used the backup database and restore feature and copied all of my files over. Everything looked good until I started making changes. Every change I make on the new site shows up on the other site, and vice versa. I need to disconnect them from each other, and have each site be independent. They both are connected to the same project page.

Any suggestions or help would be appreciated.

geniewish
 
PixelFields replied on at Permalink Reply
PixelFields
The problem is because you’ve copied the site, it has also copied the database details – this is what you need to disconnect to separate the sites.
Start by making a copy of the database using phpmyAdmin/cPanel/whatever then note the new database name, username and password. Then, ftp into one of the sites and navigate through public_html>>application>>config to find database.php which will look something like this:

<?php
return array(
    'default-connection' => 'concrete',
    'connections' => array(
        'concrete' => array(
            'driver' => 'c5_pdo_mysql',
            'server' => 'localhost',
            'database' => '********',
            'username' => '********',
            'password' => '********',
            'charset' => 'utf8'
        )
    )
);


Replace the database, username and password with the details from the newly copied DB and you should be good to go.