If this is your first visit, check our documentation. To post, register or login.

Renaming Admin Directory

Started by carlile on 15 Mar 2013, 3:21 AM · Views: 1,492

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

Post #1 by 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).. 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

Post #2 by rodg

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.

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

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

ajeh

Oba-san

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

Post #3 by ajeh

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 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!