Fix 404 Error on Startup Page When Changing Admin Panel URL in Magento 1.8

404-pagemagento-1.8

I've tried to change admin panel URL of my Magento site replacing <![CDATA[admin]]> with <![CDATA[new_admin_url]]> in app/etc/local.xml file.

I have only this issue: when I login, the startup page (dashboard in my case) gives me a 404 Page Not Found (this is the URL: http://mywebsite.com/index.php/admin/new_admin_url/index/noRoute/key/008cc1001579efd08067c36c315f293e/). After that I navigate in the admin panel and all works fine. It seems the system doesn't find the correct route.

Any ideas?

Best Answer

After deleting my initial comment from your question, I found a solution that worked for me (I had exactly the same issue as you).

I've defined the "Use Secure URLs in Admin" to "yes" in System > Configuration Web > Secure tab (what is a good complementary security setting).

Now when I go to mywebsite.com/customadminpath + connect, the Dashboard is initially displayed as expected.

I hope it's working for you too.

Related Topic