Try the Demo

Magento Forum

   
Change login directory and can’t login any longer
 
varnco
Jr. Member
 
Total Posts:  19
Joined:  2009-06-13
 

In admin settings, I attempted to change the URL from the standard www.example.com/admin to www.example.com/newdirectory.

I also was turning off key that is required (or whatever is listed in the security section of magento, right after you change the directory).

When I clicked “save” it got hungup for about 3 minutes, so I closed out the browser.

Well, now I can’t login at www.example.com/admin nor at www.examplecom/newdirectory.

I did enter a / at the end of the new directory name.

Thoughts on how to fix or at least default back to normal, since I can’t login?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
G_Mehta
Guru
 
Avatar
Total Posts:  413
Joined:  2010-01-27
India
 

I think you make change from the system >> configuration >> admin
To get it back;

First you have to delete the entry which make into database table; when you enter the custom admin url…
Open “core_config_data” table; and delete following entries: (Keep DB backup)

admin/url/use_custom
admin
/url/custom
web
/secure/base_url
web
/unsecure/base_url

To make change admin path then open ../app/etc.. Open “local.xml” file and find following like

<adminhtml>
                <
args>
                    <
frontName><![CDATA[admin]]></frontName>
                </
args>
 </
adminhtml>

Now change admin with then name that you want for your admin access…

Hope this will helps to you smile

Cheers

 Signature 

Gaurav Mehta | Magento Developer
skype: ggmehta

 
Magento Community Magento Community
Magento Community
Magento Community
 
thebod
Moderator
 
Avatar
Total Posts:  81
Joined:  2010-08-11
 

If this won’t help please delete the folder var/cache in you Magento-directory.

 Signature 

thebod.de - Hucke Media - @b_ike

Need easy configurable shipping rates? Check out Thebod_Shippingrates or fork on Github

 
Magento Community Magento Community
Magento Community
Magento Community
 
varnco
Jr. Member
 
Total Posts:  19
Joined:  2009-06-13
 

Thanks! That worked.

But, if I want to change the directory for the admin login, all I have to do is change the folder in the particular xml file? I shouldn\’t do anything within the magento admin/setup?

 
Magento Community Magento Community
Magento Community
Magento Community
 
G_Mehta
Guru
 
Avatar
Total Posts:  413
Joined:  2010-01-27
India
 

For Instance:
If you would like to change:

http://yourdomain.com/admin
With
http://yourdomain.com/adminpannel

Than you just have to change it into local.xml (As i saw you in first reply)
There is no need to change anything (If your cache is enabled then refresh it)

Cheers,
Gaurav

 Signature 

Gaurav Mehta | Magento Developer
skype: ggmehta

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top