Jump to content

Change name admin in prestashop


Recommended Posts

If it's like vekia assumes, you can simply login to your ftp and rename the admin folder (that, or by using the file manager from cpanel)

 

if I've changed the name, but to enter again I get error on my new administrator name

Link to comment
Share on other sites

  • 3 months later...

 

for exmaple:

 

your admin directory at the moment is: admin7340

so, you logged in to FTP and changed it to: myadminpanel

 

now you have to log in with address:

http://yourshop.com/myadminpanel/

Hi Vekia!

 

Can this be done from a Module / php file? rename the admin folder to a new name? 

can I use: 

 

$target = PS_ADMIN_DIR;

$newAdmin = "admin";

rename($target, $newAdmin);

Edited by intendit (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...