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: R5y6zVGKVF45
- Edit the file admin/includes/configure.php. Make these two changes:
-
Change
define('DIR_WS_ADMIN', '/admin/'); to
define('DIR_WS_ADMIN', '/R5y6zVGKVF45/'); -
Change
define('DIR_WS_HTTPS_ADMIN', '/admin/'); to
define('DIR_WS_HTTPS_ADMIN', '/R5y6zVGKVF45/'); -
Change
define('DIR_FS_ADMIN', '/home/slothe/public_html/admin/'); to
define('DIR_FS_ADMIN', '/home/slothe/public_html/R5y6zVGKVF45/');
-
Change
- Rename your admin directory using your file transfer software
to
R5y6zVGKVF45
- Update all your bookmarks, favorites, etc. to use the new URL to your admin panel, http://your-store.com/R5y6zVGKVF45
-
Change
define('DIR_WS_ADMIN', '/store/admin/'); to
define('DIR_WS_ADMIN', '/store/R5y6zVGKVF45/'); -
Change
define('DIR_WS_HTTPS_ADMIN', '/store/admin/'); to
define('DIR_WS_HTTPS_ADMIN', '/store/R5y6zVGKVF45/'); -
Change
define('DIR_FS_ADMIN', '/home/slothe/public_html/store/admin/'); to
define('DIR_FS_ADMIN', '/home/slothe/public_html/store/R5y6zVGKVF45/');
