renaming admin

Results 1 to 3 of 3
27 Jul 2011, 17:11
#1
marlake avatar

marlake

Zen Follower

Join Date:
Mar 2008
Posts:
126
Plugin Contributions:
0

renaming admin

I have the latest zen-cart version. I went to the admin to start working on it and I got the warning of having to rename the folder to prevent anauthorized access.

I went to admin/includes/configure.php
and I got the directions (in the tutorial) to edit:

define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');

However my admin/includes/configure.php look like this:


define('DIR_WS_ADMIN', '/mystorename/admin/');
define('DIR_WS_CATALOG', '/mystorename/');
define('DIR_WS_HTTPS_ADMIN', '/mystorename/admin/');
define('DIR_WS_HTTPS_CATALOG', '/mystorename/');


As you may noticed I have the name of my store nameadded into the sequence


The same happened with this part...Instead of looking like this:

define 'DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');

Looks very different... I know that part of the difference here is because I am in a local host....
define('DIR_FS_ADMIN', 'C:/xampp/htdocs/mystorename/admin/');

My question is:
should I change the "admin" for another name only?
or do I have to rename the admi and "mystorename" too?
:unsure:

I would appreciate written programming to clearly look how this should look like. My configure.php is in blue and that is the one that needs to be modified.
Thanks
Marlake
28 Jul 2011, 07:30
#2
gaurav10feb avatar

gaurav10feb

Zen Follower

Join Date:
Jan 2010
Posts:
243
Plugin Contributions:
1

Re: renaming admin

just change the word admin to YOUR NEW ADMIN FOLDER NAME.
28 Jul 2011, 13:58
#3
marlake avatar

marlake

Zen Follower

Join Date:
Mar 2008
Posts:
126
Plugin Contributions:
0

Re: renaming admin

Thank you!:clap: