Migrating a database from one server to another

1

I have an E-Commerce that I developed through Wordpress, all his DB was on my old server, with the URL link Now, already finished, I have to export everything to link

I have already exported the files, I installed the Database on the new server, but I'm having trouble with the URL names because the old one is still informed. How to manually modify?

    
asked by anonymous 04.10.2014 / 18:33

1 answer

1

In fact, the entire Wordpress migration procedure must be meticulously pre-medi- calized so that it does not have problems as large as the size of the system in question.

I'll show you a step of what needs to be done and I recommend you start over again as step by step demonstrated by deleting every procedure done so far and starting again to make sure everything will be fine.

  • Once you have finished your system zip root folder ...
  • Export the zip file to the final destination and unzip the file ...
  • Access the wp-config.php and put the new information in the database ...
  • Export to DB in .sql or .tar.gz or any extension supported by import ...
  • Import this DB into your new bank and go to the wp-options table ...
  • In this table, you will modify the option_name => siteurl column ...
  • In option_name => siteurl put url of the definitive domain ...

After you have done all these steps, you should go to Finishingdomain.com/wp-admin and enter nome de usuário and senha on the login screen and once you open the admin area you should immediately go to Configurações => Geral and modify the urls as shown in the image below:

If you developed the site without touching the structures of CMS and without having inserted manual links in theme , when accessing your domínio definitivo everything will be ok.

I hope I have helped.

    
04.10.2014 / 19:09