Before moving any site, we recommend creating a back-up of all files.
Steps for site move
- Copy all files from old server to new server.
- Copy database from old server to new server.
- Since the new server will have new database settings, edit content/engine/engine_config.php and add new database settings.
- Next open up PHPmyadmin ( or whatever you are using to access the database ) and browse 'settings' table, Next run the following query.
SELECT*FROM`settings`WHERE`name`LIKE ' Global%'
From this query you will get 4 - 5 records. You will need to modify the following records in the database to reflect the new server settings.
'GlobalHttpUrl' - URL where the cart is installed ( example: http://yoursite.com )
'GlobalHttpsUrl' - URL to access the SSL ( example: https://yoursite.com )
'GlobalServerPath' - True server path on the server ( example: /home/www/site_folder/public_html )
Next, delete all files and subfolders for content/compiled folder on new server.
- Access the index.php file to verify the site is working.
