{"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>\n

If 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>\n

Change it to:<\/p>\n

\n<form method="post" action="<?php echo $this->getUrl('adminhtml') ?>" id="loginForm">\n<\/pre>\n

that’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

Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,60,45],"tags":[84,59,61,62],"aioseo_notices":[],"views":5,"_links":{"self":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts\/1059"}],"collection":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/comments?post=1059"}],"version-history":[{"count":0,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts\/1059\/revisions"}],"wp:attachment":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/media?parent=1059"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/categories?post=1059"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/tags?post=1059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}