I got 404 error after login to admin. enter image description here And if click other item, it is working correctly now.

  • Which page or menu are you trying to access in admin? Verify your action url in menu.xml, controller path and your module admin's routes.xml. Refer this link - magento.stackexchange.com/questions/316579/… Dec 16, 2022 at 11:14
  • Turn on General Log, Login again as admin, turn off General Log and analyze the General Log to find the cause of the 404. Dec 20, 2022 at 16:40
  • How can I turn on General log
    – Bohdan V.
    Dec 20, 2022 at 19:40
  • Search in Google for 'mysql turn on General Log', please. Dec 21, 2022 at 13:00

1 Answer 1


Please share the url you are accessing.

I think you are going to a custom page and not to the magento dashboard!

This is magento dashboard url. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.