Moved Magento Install and Now It Redirects to Old Location Still

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!

About the Author

A Calgary based web developer specializing in e-Commerce sale of industrial and technical products from manufacturers such as Fluke, BW Technologies, Flir and Extech.