View Single Post
  #1   IP: 112.87.93.182
Old 2015-03-31, 12:24 AM
Ibrahim Ibrahim is offline
初级会员
 
Join Date: 2005-07-05
Posts: 4
Ibrahim 现在声名狼藉
Default How To Change The X-Cart Admin Folder

The X-Cart admin folder is commonly known to be /admin making it a target for malicious users. Changing the folder name/location provides an added level of security. The X-Cart admin folder can be changed as follows.

Log into your X-Cart host using an FTP program. Access the path to your X-Cart files and rename the folder "admin" to the name of your choice. We will call this "newadmin."

Open your top.inc.php file
Find:
Code:
define ('DIR_ADMIN', '/admin');
Replace with:
Code:
define ('DIR_ADMIN', '/newadmin');
You will now access your X-Cart admin section using the url: http://www.example.com/newadmin/
Reply With Quote