Page 1 of 1

Moving SiteName to another

Posted: Fri Apr 02, 2021 5:39 pm
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

Re: Moving SiteName to another

Posted: Fri Apr 02, 2021 6:52 pm
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.

Re: Moving SiteName to another

Posted: Fri Apr 02, 2021 8:32 pm
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.