In my magento2.1 installation when put user name and password and submit, the page redirect back to login page. Cleared cache, re indexed, and deployed the static contents as well. But nothing works. Project folder has 777 permissions. Any suggestion on how to solve this?

  • plz show any error are display in login page? Jul 14, 2016 at 4:50
  • No errors, It just redirect to login again. When check via firebug i can see a 302 Found error for xxxxx/admin/admin/index/index/57954.....435re45
    – Sukeshini
    Jul 14, 2016 at 4:58
  • I am experiencing the exact same thing after an upgrade to 2.1 - go to log into the admin area and just get redirected back to the log on page without any errors...
    – Jimmery
    Jul 14, 2016 at 10:20
  • I had the same issue with Magento 2.1.3, clearing the browser cookie solved this problem. Ref: magento.stackexchange.com/a/22382/49204
    – Harsha
    May 23, 2017 at 5:32

2 Answers 2


Try switching to Developer Mode and then back to Production Mode.

Fixed the problem for us.


Check your system and database timezones.

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.