zencart登陆地址如何修改

一般的zencart后台是:http:// www.******.com /admin

由于太简单,很容易被人利用。所以更改成为自己的后台登陆地址

1.修改 FTP目录下的admin 文件夹为 自己定义的 比如 myadmin

2.修改 FTP目录 admin/includes/configure.php 文件里边内容:

define(‘DIR_WS_ADMIN’, ‘/admin/’); 更改为自己定义的名字:比如 myadmin
define(‘DIR_WS_CATALOG’, ‘/’);
define(‘DIR_WS_HTTPS_ADMIN’, ‘https://admin/’); 更改为自己定义的名字:比如 myadmin
define(‘DIR_WS_HTTPS_CATALOG’, ‘https://’);

define(‘DIR_FS_ADMIN’, ‘/home/topfashi/public_html/admin/’); 更改为自己定义的名字:比如 myadmin

标签


Warning: error_log(/www/wwwroot/www.ctrol.cn/wp-content/plugins/spider-analyser/#log/log-2909.txt): failed to open stream: No such file or directory in /www/wwwroot/www.ctrol.cn/wp-content/plugins/spider-analyser/spider.class.php on line 2900