Did you get everything working perfectly on a development server, zipped it up and moved it else where? And now for whatever reason you keep getting redirected to the old URL even though you’ve already done the following:
- cleared cache
- re-ran all indices
- set the proper base URL for both secure and unsecure in database
- changed app/etc/local.xml
You might also want to try this:
Set the permissions to all write for magento/var, this is where session lives and your path is saved there too.
chmod -R a+w magento/var that should do it!
Worked for me, after correcting the secure and unsecure URLs in the config table I was still being taken to the old URL. Clearing the cache and setting the permissions fixed it, but to be honest I think clearing the cache was the main thing.
Thanks, much appreciated.
Glad you found that helpful! Magento sure can be mysterious some times…