I\'ve moved my Magento to another server with another domain name, now it keeps linking me back to the old domain. All files and the entire database has been searched&re
I just had this problem, after trying everything listed above and on several other SO answers i discovered there is more than one base_url definition in the core_config_data table
if you run
select * from core_config_data where path like '%base_url%'
You should see all of the definitions the scope was different on this definition and was overriding the default which i had already changed.