Changing your Zen Cart Admin Directory name
Changing the directory name "admin" to something harder to guess is a very important part of maintaining your cart's security. And it's not hard to do. Here are the step by step instructions:This page creates a "Random" admin name every time you load it. The name consists of a series of 12 upper and lower case numbers and digits, excluding a handful of characters such as zero, upper case Q and upper case O (for legibility).
Your randomly chosen admin name is:
wbTfJo33MXZk
-
(Note: Modifying the
admin/includes/configure.php
file is not required in Zen Cart 1.5.0 and higher) If you are still using Zen Cart 1.3.9 (or still using a 1.3.9 styleadmin/includes/configure.php
file), then edit the fileadmin/includes/configure.php
, and make these three changes:-
Change
define('DIR_WS_ADMIN', '/admin/');
to
define('DIR_WS_ADMIN', '/wbTfJo33MXZk/');
-
Change
define('DIR_WS_HTTPS_ADMIN', '/admin/');
to
define('DIR_WS_HTTPS_ADMIN', '/wbTfJo33MXZk/');
-
Change
define('DIR_FS_ADMIN', '/home/slothe/public_html/admin/');
to
define('DIR_FS_ADMIN', '/home/slothe/public_html/wbTfJo33MXZk/');
-
Change
- Rename your admin directory using your file transfer software
to
wbTfJo33MXZk
- Update all your bookmarks, favorites, etc. to use the new URL to your admin panel,
http://your-store.com/wbTfJo33MXZk
-
Change
define('DIR_WS_ADMIN', '/store/admin/');
to
define('DIR_WS_ADMIN', '/store/wbTfJo33MXZk/');
-
Change
define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
to
define('DIR_WS_HTTPS_ADMIN', '/store/wbTfJo33MXZk/');
-
Change
define('DIR_FS_ADMIN', '/home/slothe/public_html/store/admin/');
to
define('DIR_FS_ADMIN', '/home/slothe/public_html/store/wbTfJo33MXZk/');
admin
or Admin
. Pick something harder to guess!