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/