{"id":1059,"date":"2013-02-23T20:47:58","date_gmt":"2013-02-23T20:47:58","guid":{"rendered":"http:\/\/invisiblezero.net\/?p=399"},"modified":"2013-02-23T20:47:58","modified_gmt":"2013-02-23T20:47:58","slug":"magento-fix-the-404-error-on-the-admin-dashboard","status":"publish","type":"post","link":"http:\/\/ndthanh.com\/magento-fix-the-404-error-on-the-admin-dashboard\/","title":{"rendered":"Magento – fix the 404 error on the admin dashboard"},"content":{"rendered":"
When I changed the URI to access to my dashboard, when I logged in again, there was a 404 error on the admin dashboard. It seems is something related to permissions and can be easily solved executing the following commands:<\/p>\n
\nfind . -type d -exec chmod 755 {} ;\nfind . -type f -exec chmod 644 {} ;\nchmod o+w var media -R\n<\/pre>\nIf this doesn\u2019t work, maybe the login form is not redirecting correctly. In that case we need to change the action url in the app\/design\/adminhtml\/default\/default\/template\/login.phtml file. Look for the \u00abform\u00bb start tag:<\/p>\n
\n<form method="post" action="" id="loginForm">\n<\/pre>\nChange it to:<\/p>\n
\n<form method="post" action="<?php echo $this->getUrl('adminhtml') ?>" id="loginForm">\n<\/pre>\nthat’s it, you have you familiar dashboard back \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"
When I changed the URI to access to my dashboard, when I logged in again, there was a 404 error on the admin dashboard. It seems is something related to permissions and can be easily solved executing the following commands: find . -type d -exec chmod 755 {} ; find . -type f -exec chmod…<\/p>\n