Just Today I transfer my magento website from one server to another fronetend everything working fine but when I am trying to open admin of Magento I am getting Message “Error 404 not found”

So I have tried many soultion and not able to solve at last I got the solution and that will help anyone who face same problem.

Just simple solution you need to run query on your database.

– Open PhpMyAdmin
– Go to your database
– Click SQL
– Run the following SQL Query:

UPDATE core_store SET store_id = 0 WHERE code='admin';
UPDATE core_store_group SET group_id = 0 WHERE name='Default';
UPDATE core_website SET website_id = 0 WHERE code='admin';
UPDATE customer_group SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';

After Executing the sql don’t forget to delete your cache and session folder data.

YOURSTOREPATH/var/cache/ Delete all files from this folder
YOURSTOREPATH/var/session/ Delete all files from this folder
Please comment if above solution help you.

One thought on “magento admin showing 404 error [solved]”

  1. I have followed all your procedure and it works great to me thank you so much such a great solution. It seems you are Magento Guru. I am trying to add magento product from my xls is there any solution for me.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.