I have moved my website on a new server (domain name is the same). Frontend is working properly but the admin login page gives a 404 Not Found
error.
Most posts about this issue suggest the solutions mentioned on this post Transferring Magento website, admin panel URL gives 404
I've tried all of them but nothing worked. Is there something else I could do to fix this?
Best Answer
The reason for this error is that store_id and website_id for admin should be set to 0 (zero). But, when you import database to new server, somehow these values are not set to 0.
Open PhpMyAdmin and run the following query in your database:-
Back up database before making any changes also see log file to find exact issue. Also you can refer link 404 magento admin error Hope this is helpful to you