Page 1 of 1

domain change

Posted: Tue Oct 13, 2015 1:04 pm
by mazensalman
I moved my website from one domain to another and I modified both config.php files but any new order or customer are created on the old domain
please help

Re: domain change

Posted: Tue Oct 13, 2015 2:56 pm
by uksitebuilder
That shouldn't happen

But just to clarify, when you say it is created on the old domain, do you mean that you are still running a store under the old domain as well as the new domain and orders are appearing in the old domain's admin control panel ?

If so, then you most likely haven't updated the database settings

Re: domain change

Posted: Tue Oct 13, 2015 4:33 pm
by mazensalman
yes that is what im saying and i think i should update the database setting but i dont know how.
can you please tell me what to do

Re: domain change

Posted: Tue Oct 13, 2015 6:36 pm
by uksitebuilder
I'm assuming you have a new database set-up for your new domain/store ?

If so, you need to edit the settings in your config.php and admin/config.php files

Database Name
Database Username
Database Password

Re: domain change

Posted: Tue Oct 13, 2015 8:22 pm
by mazensalman
i did change both config files in my domain folder if that what you mean.
now i need to make the database changes.
do you know how?
can you tell me the steps?
thanks

Re: domain change

Posted: Tue Oct 13, 2015 8:29 pm
by uksitebuilder
So you changed the vqlue for the database in the config.php and admin/config.php

If so, then the store should be posting order data etc to the new database, not the old one.

Re: domain change

Posted: Tue Oct 13, 2015 8:40 pm
by mazensalman
ok i checked again and the modification was wrong thanks for your reply i really appreciate it