After copying a Magento installation from domain.com to dev.domain.com to see if we could update safely from 1.8 to 1.9 the system automatically redirects to domain.com, even after editing the configuration through the MySQL database. Both the insecure and the secure path URLs have been changes to match the dev.domain.com server, yet the site redirects to domain.com.
The backend of dev.domain.com works in a strange way now. Once I access it, it doesn't redirect. I log in, and it redirects me to the domain.com backend login page. Yet, if I add 'dev.' in front of the URL (leaving the session key as is), it brings me to the backend albeit through what seems to be 10 redirections. When I get there, all the tabs are 'greyed out'. I cannot hover them to bring up the menu panels.
Everything seems to be correct but I am not sure what else can affect this. I have erased the cache & the session directories, yet with no avail.
NB: I have also checked if any .htaccess
files were misconfigured. The only one I edited was the one in the root directory to change 'www' to 'dev'. Neither 'www' nor 'dev' makes any difference with the problem.