Jump to content

Redirect to old url after cloning


Recommended Posts

I tried the following steps for cloning my LIVE database to create a test environment.

 

1) URL for accessing my live site is www.bestbuytrading.com/shopping

2) Created a subdomain named 'bbttest' for my test shop bbttest.bestbuytrading.com

3) Copy the files under /shopping folder to /public_html/bbttest
4) Created a database named bbttest & a new db user
5) Login into LIVE database and exported all tables in SQL mode.
6) Login into test datbase bbttest and imported the LIVE data
7) I have modfied the table ps_configuration for the following fields to have values as bbttest.bestbuytrading.com 
        PS_SHOP_DOMAIN 
         PS_SHOP_DOMAIN_SSL 

8) Open the settings.inc.php file under the public_html/bbttest/config folder of our new test site and edit the file to change the fields DB_USER and DB_PASSWD to match the credentials we set earlier. 

 

After this If I type bbttest.bestbuytrading.com, it is going to the LIVE shop.

Not able to login to the back office if type http://bbttest.bestbuytrading.com/bbtliveadmin since pages are not displayed properly.

 

Not able to update .htaccess file through backoffice.

 

Did I have to do any more configurations?

Can you please let me know any further setting to be done regarding this/how to fix this problem?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...