cancel
Showing results for 
Search instead for 
Did you mean: 

Moved domain, can't login to admin

SOLVED

Moved domain, can't login to admin

Hi

 

I recently moved a Magento website to a new sub-domain/directory, but now I can not login to the admin.

 

www.domain.com > www.domain.com/new

 

When I try login to the new domain admin (/admin) it redirects to the login page of the old domain.

 

I have changed the base urls in core_config_data but this did not solve the problem.

 

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Moved domain, can't login to admin

this is probably old htaccess redirect 

check if you have updated rewrite base, etc

------------
MagenX - Magento and Server optimization

View solution in original post

12 REPLIES 12

Re: Moved domain, can't login to admin

Elliot,

Can you try in a private browsing window and also confirm if you have any other store views enabled?

Problem solved? Click Accept as Solution!
Magento Certified Developer Plus | www.iwebsolutions.co.uk | Magento Small Business Partner

Re: Moved domain, can't login to admin

Manually delete magento cache

Melbourne | Australia - priyan.d@webdesignace.com.au
My Magento 1x Shop

Re: Moved domain, can't login to admin

Hi

 

Private browsing window didn't work.

 

I don't have multiple store views.

 

Clearing the cache/session in var doesnt work.

Re: Moved domain, can't login to admin

You may want to go through the core_config_data table in your database and look for any mentions of the old domain.

 

Chances are there are still some references to the old domain and you'll need to change them to the new domain (and clear your cache once you do that). 

Re: Moved domain, can't login to admin

All the mentions of the old domain have been changed in core_config_data.

 

Still having the problem.

Re: Moved domain, can't login to admin

Still not figured this out.

 

Any other suggestions?

Re: Moved domain, can't login to admin

Just to confirm that you have went through the whole database tables and changed everything? 

 

Did you clear your Magento cache and sessions after changing it? 

 

Finally, do you have any redirects setup at all? Check your .htaccess file to identify if there's any redirects. 

Re: Moved domain, can't login to admin

Agree with JLHC.

Clear Magento Cache Manually.

 

I have done this many times. Always cleared Magento Cache manually. had no issues

 

 

Melbourne | Australia - priyan.d@webdesignace.com.au
My Magento 1x Shop

Re: Moved domain, can't login to admin

this is probably old htaccess redirect 

check if you have updated rewrite base, etc

------------
MagenX - Magento and Server optimization