Moving SiteName to another

Open to all! Ask other shopowners for help.
plamastus
Member
Posts: 82
Joined: Fri Mar 12, 2021 2:09 am
Phoenix Version:
Has thanked: 1 time
Been thanked: 2 times

Moving SiteName to another

Post by plamastus »

Hi,

Is it possible to move test site to permanent site by

1. Taking the public_html (catalog) directory to the permanent site.
2. Exporting/importing sql database (database names will be different name on the permanent site).
I know I have to change the files to match the new sql db from:
admin/includes/configure.php
includes/configure.php

Is there anything else I have to do?

Thanks in advance,

Patrick
patrick



Join The Code Co-op to get access to your library in the Code Co-op Forum
raiwa
Certified Developer
Posts: 1667
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 72 times
Been thanked: 156 times

Re: Moving SiteName to another

Post by raiwa »

You also need to update the domain, cookie domain, file paths etc in the config files.
Also redirects and path for rewrite rules in .htaccess if they are different and you are using this.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

ecartz
Core Team
Posts: 3087
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Moving SiteName to another

Post by ecartz »

It's sometimes easier to get the configure.php files right if you install a new copy on the new domain. Then delete that database (that has nothing in it) and restore your local store database from backup.



Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply