To move a magento installation you cannot just move the files, you need to make changes in the database aswell as the database connection settings.
Domain Configuration
Search for these in the database, Table core_config_data has rows and change them:
web/unsecure/base_url http://[you_domain_here]/ web/secure/base_url https://[your_secure_domain_here]/
Then clear the cache by deleting the files in the following directories
/var/cache /var/session
Database Settings
The database config settings of magento are stored in the file below. I cannot remember if you need to change anything elese here other that the database connection settings.
/app/etc/local.xml
Do not leave old XML files in this directory (ie rename old-local.xml) because magento will try and parse these files aswell.
.htaccess
Dont forget to change any domain specific rules such as a canonical redirects.
Browser
- Clear your browser cache
- restart your browser
Links