paola86 Posted May 9, 2014 Share Posted May 9, 2014 I need chage the url of the my mall, but I dont know how is possible, can u help me thx Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 my mall by mall you mean back office ? Link to comment Share on other sites More sharing options...
NemoPS Posted May 10, 2014 Share Posted May 10, 2014 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) Link to comment Share on other sites More sharing options...
paola86 Posted May 12, 2014 Author Share Posted May 12, 2014 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 More sharing options...
vekia Posted May 12, 2014 Share Posted May 12, 2014 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/ Link to comment Share on other sites More sharing options...
intendit Posted September 4, 2014 Share Posted September 4, 2014 (edited) 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 September 4, 2014 by intendit (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2014 Share Posted September 4, 2014 prestashop by default uses that function, take a look: $rand = 'admin'.sprintf('%04d', rand(0, 9999)).'/'; rename(_PS_ADMIN_DIR_.'/../admin/', _PS_ADMIN_DIR_.'/../'.$rand)) Link to comment Share on other sites More sharing options...
intendit Posted September 4, 2014 Share Posted September 4, 2014 prestashop by default uses that function, take a look: $rand = 'admin'.sprintf('%04d', rand(0, 9999)).'/'; rename(_PS_ADMIN_DIR_.'/../admin/', _PS_ADMIN_DIR_.'/../'.$rand)) Thank you! i´ts done! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now