1, copy the Magento directory to the new server, export the database, import. If you do not go in because the Magento database using FOREIGN KEY constraints, through phpMyAdmin Import error, on the exported SQL file added a row set @[email protected] @FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;2, modify Magento configuration file, location in App/etc/local.xml, note that the content of the modified CDATA is mainly database connection database user name password database name 3, modify Magento database, The path in the Core_config_data table is the content of Web/unsecure/base_url and Web/secure/base_url, for the new domain name of your website, notice the "/" behind the domain name. Replace the website full domain name +/http://www.abc.com/all OK, if not so that you can go into the background to refresh the cache, rebuild index 4, if you have not jumped or do not appear the desired page, empty the browser's cache
Magento moving Magento Changing the server step change the database connection replace the domain name