Magento 1.9 Admin – Fix Admin URL Redirect to Old Domain

adminmagento-1.9

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.

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.

Best Answer

As my comment solved your problem I will post it as an answer.

According to magento takes all config data from cache folder you have to clear the magentodir/var/cache - including all subfolders - to be sure the new config is taken.

You said you allready cleared the cache, my advice is to check this point again. (Maybe you cleared the cache before you did the necessary changes?)

Related Topic