changed my admin url from index.php/admin to something else don't remember it. Can anyone tell me how to get back into my dashboard.
-
Where did you change it? You should find it in app/etc/local.xml– brentwpetersonDec 11, 2014 at 21:07
-
in magento community. I use godaddy to host. trying to find it in there but no luck.– mikeDec 11, 2014 at 22:10
-
Can you explain how you changed the link to admin?– brentwpetersonDec 11, 2014 at 22:15
-
magento.stackexchange.com/questions/40620/…– Fiasco LabsDec 14, 2014 at 3:12
1 Answer
You can change the admin url in:
As @brentwpeterson wrote in
app/etc/local.xml
:<admin> <routers> <adminhtml> <args> <frontName><![CDATA[admin]]></frontName> </args> </adminhtml> </routers> </admin>
In the
admin panel -> System -> Configuration -> ADVANCED -> Admin -> Admin Base URL -> Use Custom Admin URL / Use Custom Admin Path
. But if you changed it there and can't login in the admin panel you should revert it in the database. The SQL queries are:
UPDATE core_config_data SET value = 0 WHERE path = 'admin/url/use_custom';
UPDATE core_config_data SET value = 0 WHERE path = 'admin/url/use_custom_path';