Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Renaming Admin Directory

Renaming Admin Directory

Views: 1,479

Results 1 to 3 of 3
15 Mar 2013, 3:21 AM
#1
carlile avatar

carlile

New Zenner

Join Date:
Mar 2013
Posts:
1
Plugin Contributions:
0

Renaming Admin Directory

Hi. I'm on Dreamweaver here and when I go in and change that directory name, it wants to change all references to that name in the files that are in that directory (admin) (and there are quite a few).. Normally... when you change a directory name you must change all references to that directory name to keep everything working within that dir. It's common sense.. I thought....... BUT In all the ZC docs it doesn't say to change all references... instead just that one folder.
Am I missing something here?:no::yes:
Thanks...
Ron

15 Mar 2013, 3:34 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Renaming Admin Directory

CarLile:

Hi. I'm on Dreamweaver here and when I go in and change that directory name, it wants to change all references to that name in the files that are in that directory (admin) (and there are quite a few)..

Ignore what DW is trying to do, Use FTP (or your CPanel file manager) to change the folder name. When done, edit the file /renamedAdmin/includes/configure.php so that it uses the same foldername. That will be the only file you'll need to edit/change. As I recall, there are only three instances that need changing.

Cheers
Rod.

15 Mar 2013, 12:59 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Renaming Admin Directory

NOTE: In a clean Zen Cart v1.5, you should not need any changes made to the Admin file:
/your_secret_admin_dir/includes/configure.php

as it is written to manage the changed Admin directory name just by going to your directory:
/your_secret_admin_dir

Only on upgrades that still use the old style of configure.php is the change necessary for the new admin directory name ...