Edit: solved
I moved my magento-installation to a new domain, copied the database, changed the app/etc/local.xml to show to new database, changed the web/unsecure/base_url
and web/secure/base_url
and cleared the var/cache directory. The shop itself works with the new domain. But when I want to access the admin panel I get redirect to old url.
- http://newdomain.com -> http://newdomain.com
- http://newdomain.com/admin -> http://olddomain.com/admin
I also checked for system -> config -> admin -> admin BaseURL if there is any user specific settings. -> Its not.
I also checked in htaccess for any redirects. -> none.
What else could cause this redirect? I am out of ideas.